Skip to content

Commit

Permalink
Added script to run ci.webhooks.app in Flask debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
migurski committed Jul 16, 2015
1 parent b3f96e0 commit d1e996a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ Test the OpenAddresses machine with `test.py`:

python test.py

Run the webhook server, queue listener, and worker processes from the
`openaddr` module:
Run the webhook server, queue listener, and worker processes:

gunicorn -w 4 --bind 0.0.0.0:$PORT openaddr.ci:app
python run-debug-webhooks.py
python -m openaddr.ci.run_dequeue

python -m openaddr.ci.worker
Expand Down
7 changes: 7 additions & 0 deletions run-debug-webhooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env python
''' Run openaddr.ci.webhooks.app in Flask debug mode.
'''
from openaddr.ci.webhooks import app

if __name__ == '__main__':
app.run(debug=True)

0 comments on commit d1e996a

Please sign in to comment.