Skip to content

Commit

Permalink
updated rds credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarathay committed Dec 5, 2024
1 parent 3d77208 commit 1b9599f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ zappa*
.log
.vscode
.idea
.env


# py files
Expand Down
15 changes: 11 additions & 4 deletions caption_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,17 @@

from random import randint

RDS_HOST = "io-mysqldb8.cxjnrciilyjq.us-west-1.rds.amazonaws.com"
RDS_PORT = 3306
RDS_USER = "admin"
RDS_DB = "captions"
# RDS_HOST = "io-mysqldb8.cxjnrciilyjq.us-west-1.rds.amazonaws.com"
# RDS_PORT = 3306
# RDS_USER = "admin"
# RDS_DB = "captions"

RDS_HOST = os.environ.get("RDS_HOST")
RDS_PORT = os.environ.get("RDS_PORT")
RDS_USER = os.environ.get("RDS_USER")
RDS_DB = os.environ.get("RDS_DB")



# app = Flask(__name__)
app = Flask(__name__, template_folder="assets")
Expand Down

0 comments on commit 1b9599f

Please sign in to comment.