Sets dev and testing environment variables

This commit is contained in:
Aaron Louie 2020-04-15 16:49:14 -04:00
parent d68079b247
commit c5861166d9

View File

@ -5,8 +5,8 @@ basedir = os.path.abspath(os.path.dirname(__file__))
NAME = "CR Connect Protocol Builder Mock"
CORS_ENABLED = False
DEVELOPMENT = bool(environ.get('DEVELOPMENT', default="True"))
TESTING = bool(environ.get('TESTING', default="False"))
DEVELOPMENT = environ.get('DEVELOPMENT', default="true") == "true"
TESTING = environ.get('TESTING', default="false") == "true"
DB_HOST = environ.get('DB_HOST', default="localhost")
DB_PORT = environ.get('DB_PORT', default="5432")