Skip to content

Commit af6b0c7

Browse files
Update README.md
1 parent 9c67a8c commit af6b0c7

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

README.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This project contains Python code that utilizes the Matplotlib and Seaborn libraries for data visualization.
44

5-
## Usage
5+
# Usage
66

77
This project requires the following libraries:
88

@@ -14,49 +14,59 @@ matplotlib
1414
seaborn
1515
```
1616

17-
### Run without GUI
17+
## Run without GUI
1818

1919
```
20-
# Clone the Github Repo
20+
### Clone the Github Repo
2121
git clone https://github.com/oracle-quickstart/pandas-oracledb-statistical-analysis.git
2222
2323
cd pandas-oracledb-statistical-analysis/
24+
```
2425

25-
# Set the environment variables to connect to Oracle Database
26+
### Set the environment variables to connect to Oracle Database
27+
```
2628
export ORACLE_USER=username
2729
export ORACLE_PASSWORD=password
2830
export ORACLE_DSN='(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1521)(host=adb.ap-melbourne-1.oraclecloud.com))(connect_data=(service_name=*******_high.adb.oraclecloud.com))(security=(ssl_server_dn_match=yes)))'
31+
```
2932

30-
# Deploy the SQL
33+
### Deploy the SQL
3134
```
3235
sql $ORACLE_USER/$ORACLE_PASSWORD@$ORACLE_DSN
3336
3437
@schema.sql
3538
```
3639

3740
# Build from Source
41+
42+
```
3843
podman build -t oraclepandasdemo .
3944
4045
podman run -it \
4146
-e ORACLE_USER=admin \
4247
-e ORACLE_PASSWORD=YourPassword234#_ \
4348
-e ORACLE_DSN="(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1521)(host=adb.ap-melbourne-1.oraclecloud.com))(connect_data=(service_name=****_high.adb.oraclecloud.com))(security=(ssl_server_dn_match=yes)))" oraclepandasdemo
4449
45-
4650
```
4751

4852

49-
## Run with GUI
50-
```
53+
## Run using GUI
54+
55+
5156
# Install Dependencies
57+
```
5258
pip3 install -r requirements.txt
59+
```
5360

5461
# Set the environment variables to connect to Oracle Database
62+
```
5563
export ORACLE_USER=username
5664
export ORACLE_PASSWORD=password
5765
export ORACLE_DSN='(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1521)(host=adb.ap-melbourne-1.oraclecloud.com))(connect_data=(service_name=*******_high.adb.oraclecloud.com))(security=(ssl_server_dn_match=yes)))'
66+
```
5867

59-
# Run
68+
# Execute Python Script
69+
```
6070
python3 pandas-charts.py
6171
```
6272

0 commit comments

Comments
 (0)