diff --git a/flash_cards.ini b/flash_cards.ini new file mode 100644 index 0000000..4ccf360 --- /dev/null +++ b/flash_cards.ini @@ -0,0 +1,13 @@ +[uwsgi] +module = wsgi:app + +master = true +processes = 5 + +socket = flash_cards.sock +chmod-socket = 660 +vacuum = true + +die-on-term = true + + diff --git a/index.py b/flash_cards.py similarity index 100% rename from index.py rename to flash_cards.py diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..7eac5e4 --- /dev/null +++ b/wsgi.py @@ -0,0 +1,5 @@ +from flash_cards import app + +if __name__ == "__main__": + app.run() +