diff --git a/app.py b/app.py index 6121124..d7df1eb 100644 --- a/app.py +++ b/app.py @@ -35,8 +35,3 @@ def index(): @app.route('/hello') def hello(): return 'Hello, World' - - -if __name__ == '__main__': - # parseObjects(root) - app.run() diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..841fc63 --- /dev/null +++ b/wsgi.py @@ -0,0 +1,7 @@ +from app import app + +if __name__ == '__main__': + """ + run with gunicorn --bind 0.0.0.0:5000 wsgi:app --reload + """ + app.run()