From 0a73501501329c39a1ebfcbbb18e7279b7d07c44 Mon Sep 17 00:00:00 2001 From: John Washam Date: Thu, 30 Jun 2016 02:08:43 +0000 Subject: [PATCH] Adding wsgi entry and wsgi config --- flash_cards.ini | 13 +++++++++++++ index.py => flash_cards.py | 0 wsgi.py | 5 +++++ 3 files changed, 18 insertions(+) create mode 100644 flash_cards.ini rename index.py => flash_cards.py (100%) create mode 100644 wsgi.py 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() +