$ virtualenv --python=/usr/bin/python3 env
$ source env/bin/activate
$ pip install -r requirements.txt
This service requires running PostgreSQL
and RabbitMQ
instances.
$ alembic upgrade head
Run each in a different terminal window
# worker process
$ python worker.py
# the app
$ python app.py
For running with uWSGI use
uwsgi --socket 0.0.0.0:8000 --protocol=http -w app