Skip to content

Commit

Permalink
Adding wsgi entry and wsgi config
Browse files Browse the repository at this point in the history
  • Loading branch information
jwasham committed Jun 30, 2016
1 parent f5f45f0 commit 0a73501
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
13 changes: 13 additions & 0 deletions flash_cards.ini
Original file line number Diff line number Diff line change
@@ -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


File renamed without changes.
5 changes: 5 additions & 0 deletions wsgi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from flash_cards import app

if __name__ == "__main__":
app.run()

0 comments on commit 0a73501

Please sign in to comment.