diff options
author | Pjotr Prins | 2021-08-07 12:06:49 +0200 |
---|---|---|
committer | Pjotr Prins | 2021-08-07 12:06:49 +0200 |
commit | e0476d51603432f60b6412b65486166deabe9e08 (patch) | |
tree | d201eb44bb0490dfeb3e9d87386adc866591db54 /main.py | |
parent | 33700066452e3c5f341b790f015f85fb976d06be (diff) | |
download | genenetwork3-e0476d51603432f60b6412b65486166deabe9e08.tar.gz |
Add gunicorn support for production
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2,6 +2,8 @@ from gn3.app import create_app - app = create_app() -app.run(host="0.0.0.0") + +if __name__ == '__main__': + print("Starting app...") + app.run() |