Merge pull request #372 from JordanP/fix_docs_config

Fix docs/config.md: the MYAPP_SETTINGS is not exported
This commit is contained in:
Eli Uriegas 2017-01-30 05:43:29 -06:00 committed by GitHub
commit eac26a4514

View File

@ -54,7 +54,7 @@ app.config.from_envvar('MYAPP_SETTINGS')
Then you can run your application with the `MYAPP_SETTINGS` environment variable set: Then you can run your application with the `MYAPP_SETTINGS` environment variable set:
``` ```
$ MYAPP_SETTINGS=/path/to/config_file; python3 myapp.py $ MYAPP_SETTINGS=/path/to/config_file python3 myapp.py
INFO: Goin' Fast @ http://0.0.0.0:8000 INFO: Goin' Fast @ http://0.0.0.0:8000
``` ```