From e0476d51603432f60b6412b65486166deabe9e08 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 7 Aug 2021 12:06:49 +0200 Subject: Add gunicorn support for production --- wsgi.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 wsgi.py (limited to 'wsgi.py') diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..d30bc49 --- /dev/null +++ b/wsgi.py @@ -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() -- cgit v1.2.3