- Clone this repository with:
$ git clone https://github.com/guiltytargets/guiltytargets-web.git
$ cd guiltytargets-web
- Run RabbitMQ. On Mac, this is easy with homebrew
$ # if you need to install rabbitmq, use the first command
$ brew install rabbitmq
$ brew services start rabbitmq
- Run the web server using
pipenv
:
$ pipenv run gunicorn -b 0.0.0.0:5000 wsgi:app
- Run the Celery worker using
pipenv
:
$ pipenv run celery worker -A wsgi.celery -l INFO
See the module docstring of wsgi.py
for similar instructions.
After cloning this repository and ``cd``ing into it, run:
$ docker-compose up