Skip to content

Commit

Permalink
Enviroment Variables set
Browse files Browse the repository at this point in the history
  • Loading branch information
gpivaro committed Dec 6, 2020
1 parent 54a9add commit b3f4748
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
# from api_keys import mysql_user_project2
# from api_keys import mysql_pass_project2

mysql_hostname = os.environ['mysql_hostname']
mysql_port = os.environ['mysql_port']
mysql_user_project2 = os.environ['mysql_user_project2']
mysql_pass_project2 = os.environ['mysql_pass_project2']
mysql_hostname = os.environ('mysql_hostname')
print(mysql_hostname)
mysql_port = os.environ('mysql_port')
print(mysql_port)
mysql_user_project2 = os.environ('mysql_user_project2')
mysql_pass_project2 = os.environ('mysql_pass_project2')


# Database name and database tables
Expand Down

0 comments on commit b3f4748

Please sign in to comment.