Sets production environment variable
This commit is contained in:
parent
2a15f3a488
commit
b4fdba0fc9
|
@ -7,6 +7,7 @@ NAME = "CR Connect Workflow"
|
|||
CORS_ENABLED = False
|
||||
DEVELOPMENT = environ.get('DEVELOPMENT', default="true") == "true"
|
||||
TESTING = environ.get('TESTING', default="false") == "true"
|
||||
PRODUCTION = (environ.get('PRODUCTION', default="false") == "true") or (not DEVELOPMENT and not TESTING)
|
||||
|
||||
DB_HOST = environ.get('DB_HOST', default="localhost")
|
||||
DB_PORT = environ.get('DB_PORT', default="5432")
|
||||
|
|
Loading…
Reference in New Issue