Add WSGI file

This commit is contained in:
Cara Salter 2022-12-06 09:06:41 -05:00
parent cc58625019
commit 576721345b
No known key found for this signature in database
GPG key ID: 90C66610C82B29CA
2 changed files with 4 additions and 1 deletions

View file

@ -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 ---"

3
goathacks.py Normal file
View file

@ -0,0 +1,3 @@
from goathacks import create_app
application = create_app()