diff options
author | Pjotr Prins | 2018-03-20 11:02:25 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-03-26 09:29:29 +0000 |
commit | 7aae77762e47c9269591e138ab25320d3ed3a85f (patch) | |
tree | 1361829f13fe38e97f58168bff05fae443143285 /wqflask/run_gunicorn.py | |
parent | e2339a0a491f1853b8411d499be1e08bf62a2da8 (diff) | |
download | genenetwork2-7aae77762e47c9269591e138ab25320d3ed3a85f.tar.gz |
Refactor startup config for gunicorn and werkzeug
Diffstat (limited to 'wqflask/run_gunicorn.py')
-rw-r--r-- | wqflask/run_gunicorn.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/run_gunicorn.py b/wqflask/run_gunicorn.py index ebe3add5..adffdca3 100644 --- a/wqflask/run_gunicorn.py +++ b/wqflask/run_gunicorn.py @@ -7,12 +7,12 @@ # from flask import Flask # application = Flask(__name__) -print "Starting up Gunicorn process" +print "===> Starting up Gunicorn process" from wqflask import app +from utility.startup_config import app_config -app.config['SESSION_TYPE'] = 'filesystem' -app.config['SECRET_KEY'] = 'super secret key' +app_config() @app.route("/gunicorn") def hello(): |