Adding wsgi entry and wsgi config

This commit is contained in:
John Washam
2016-06-30 02:08:43 +00:00
parent f5f45f0605
commit 0a73501501
3 changed files with 18 additions and 0 deletions

13
flash_cards.ini Normal file
View File

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

5
wsgi.py Normal file
View File

@@ -0,0 +1,5 @@
from flash_cards import app
if __name__ == "__main__":
app.run()