From 576721345bf907905a3b8c0b1d07689a334df0f0 Mon Sep 17 00:00:00 2001 From: Cara Salter <cara@devcara.com> Date: Tue, 6 Dec 2022 09:06:41 -0500 Subject: [PATCH] Add WSGI file --- Makefile | 2 +- goathacks.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 goathacks.py diff --git a/Makefile b/Makefile index bab2864..c0c2ac7 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ daemon: @echo "--- STARTING UWSGI DAEMON ---" @echo "" @echo "" - source .venv/bin/activate && uwsgi --py-autoreload=5 --socket 0.0.0.0:8000 --protocol=http --wsgi-file netreg.py --enable-threads --master + source .venv/bin/activate && uwsgi --py-autoreload=5 --socket 0.0.0.0:8000 --protocol=http --wsgi-file goathacks.py --enable-threads --master @echo "" @echo "" @echo "--- STARTING UWSGI DAEMON ---" diff --git a/goathacks.py b/goathacks.py new file mode 100644 index 0000000..1613992 --- /dev/null +++ b/goathacks.py @@ -0,0 +1,3 @@ +from goathacks import create_app + +application = create_app()