aboutsummaryrefslogtreecommitdiff
path: root/wqflask/run_gunicorn.py
diff options
context:
space:
mode:
authorPjotr Prins2018-03-20 11:02:25 +0000
committerPjotr Prins2018-03-20 11:02:25 +0000
commitafd8d38c19be78b7e962f4edea0972ac3f48c25d (patch)
treea1e87ced6efc40eebcf2e22ac9dd3b9ccfb0204a /wqflask/run_gunicorn.py
parentab369995d4a16de5d20123192279e32658f870a0 (diff)
downloadgenenetwork2-afd8d38c19be78b7e962f4edea0972ac3f48c25d.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():