large refactor of code to use venv (in .python) for DEV, to use consistent python versions with PROD, sepcifically flask 2.2.2 to address the deprecation of FLASK_ENV -> replaced with ENV. Fixed up git and dockerignores to be more stringent
This commit is contained in:
@@ -50,7 +50,7 @@ import uuid
|
||||
|
||||
|
||||
# global debug setting
|
||||
if 'FLASK_ENV' not in os.environ or os.environ['FLASK_ENV'] != "production":
|
||||
if 'ENV' not in os.environ or os.environ['ENV'] != "production":
|
||||
DEBUG=True
|
||||
else:
|
||||
DEBUG=False
|
||||
|
||||
Reference in New Issue
Block a user