mirror of
https://github.com/sartography/protocol-builder-mock.git
synced 2025-02-11 15:16:44 +00:00
Sets dev and testing environment variables
This commit is contained in:
parent
d68079b247
commit
c5861166d9
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user