lingthio / Flask-User-starter-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Win 7 environment setup

scheung38 opened this issue · comments

Hi how to setup ENV_SETTINGS_FILE in Win 7? Thanks

In startup/create_app.py/create_app:

env_settings_file = os.environ.get('ENV_SETTINGS_FILE', 'env_settings_example.py')
app.config.from_pyfile(env_settings_file)

this needs to change to env_settings.py outside project directory as well?