Deploy on local machine

Installation

You need pip, npm, bower, redis and mongodb installed for this instruction.

Install fabric:

pip install fabric

Copy coviolations_web/settings/dist.py to coviolations_web/settings/local.py and fill config values.

And setup for developing with:

fab install

Or for production:

fab install:production

You can update project with:

fab update # or fab update:production

Running

Run http server:

./manage.py runserver

Run sockjs server:

./manage.py runpush

And run rq worker:

./manage.py rqworker

And open in browser.