mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-20 11:48:16 +00:00
Sets ENV variable
This commit is contained in:
parent
b4fdba0fc9
commit
3a9d2c0b4d
@ -8,6 +8,7 @@ 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)
|
||||
ENV = environ.get('ENV', default="production")
|
||||
|
||||
DB_HOST = environ.get('DB_HOST', default="localhost")
|
||||
DB_PORT = environ.get('DB_PORT', default="5432")
|
||||
|
Loading…
x
Reference in New Issue
Block a user