Skip to content

Commit

Permalink
updated Procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhea0 committed Mar 20, 2016
1 parent cb6178e commit c81239f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: gunicorn app:app
web: sh heroku.sh
3 changes: 3 additions & 0 deletions heroku.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
gunicorn app:app --daemon
python worker.py
2 changes: 1 addition & 1 deletion worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
if __name__ == '__main__':
with Connection(conn):
worker = Worker(list(map(Queue, listen)))
worker.work()
worker.work()

0 comments on commit c81239f

Please sign in to comment.