aboutsummaryrefslogtreecommitdiff
path: root/wqflask/run_gunicorn.py
diff options
context:
space:
mode:
authorPjotr Prins2018-03-20 11:02:25 +0000
committerPjotr Prins2018-03-26 09:29:29 +0000
commit7aae77762e47c9269591e138ab25320d3ed3a85f (patch)
tree1361829f13fe38e97f58168bff05fae443143285 /wqflask/run_gunicorn.py
parente2339a0a491f1853b8411d499be1e08bf62a2da8 (diff)
downloadgenenetwork2-7aae77762e47c9269591e138ab25320d3ed3a85f.tar.gz
Refactor startup config for gunicorn and werkzeug
Diffstat (limited to 'wqflask/run_gunicorn.py')
-rw-r--r--wqflask/run_gunicorn.py6
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():