Skip to content

Commit

Permalink
Merge pull request #784 from Lunatic-Labs/SKIL-202
Browse files Browse the repository at this point in the history
Changes to db connect string for MySQL
  • Loading branch information
sah0017 authored Nov 22, 2024
2 parents 9a95796 + 9670b32 commit 4ea8cdb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions BackEndFlask/env/.env.production
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# Contains the variables for production enviroment which uses mysql
# while the same the urls are meant to override incorrect connection paths meant to serve as examples
DONT_LOOK = 'ThisReallyNeedsToBeASecret1!'
WIN_LIN = 'mysql+pymysql://rubricapp_admin:${DONT_LOOK}@rubricapp-db.c1db7ief4oer.us-east-2.rds.amazonaws.com:3306/rubricapp'
MAC = 'mysql+pymysql://rubricapp_admin:${DONT_LOOK}@rubricapp-db.c1db7ief4oer.us-east-2.rds.amazonaws.com:3306/rubricapp'

MYSQL_HOST = 'skillbuilder-db.c1db7ief4oer.us-east-2.rds.amazonaws.com:3306'
MYSQL_PASSWORD = 'ThisReallyNeedsToBeASecret1!'
MYSQL_USER = 'rubricapp_admin'
MYSQL_DATABASE = 'rubricapp'
WIN_LIN = 'mysql+pymysql://rubricapp_admin:${MYSQL_PASSWORD}@rubricapp-db.c1db7ief4oer.us-east-2.rds.amazonaws.com:3306/rubricapp'
MAC = 'mysql+pymysql://rubricapp_admin:${MYSQL_PASSWORD}@rubricapp-db.c1db7ief4oer.us-east-2.rds.amazonaws.com:3306/rubricapp'


#-----------------------------------------------------------------------------#
# Final urls should look like the following for when we move to the server #
Expand Down

0 comments on commit 4ea8cdb

Please sign in to comment.