aboutsummaryrefslogtreecommitdiff
path: root/wqflask/run_gunicorn.py
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/run_gunicorn.py')
-rw-r--r--wqflask/run_gunicorn.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/run_gunicorn.py b/wqflask/run_gunicorn.py
index adffdca3..03f310eb 100644
--- a/wqflask/run_gunicorn.py
+++ b/wqflask/run_gunicorn.py
@@ -7,16 +7,18 @@
# 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()
+
@app.route("/gunicorn")
def hello():
return "<h1 style='color:blue'>Hello There!</h1>"
+
if __name__ == "__main__":
app.run(host='0.0.0.0')