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 /wsgi.py | |
parent | 33700066452e3c5f341b790f015f85fb976d06be (diff) | |
download | genenetwork3-e0476d51603432f60b6412b65486166deabe9e08.tar.gz |
Add gunicorn support for production
Diffstat (limited to 'wsgi.py')
-rw-r--r-- | wsgi.py | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +# import main + +print("STARTING WSGI APP") + +from gn3.app import create_app + +app = create_app() + +if __name__ == "__main__": + print("Starting wsgi app...") + app.run() |