Demo files for the talk I gave in #pyconmy2015. Slides can be accessed here: http://www.slideshare.net/kokhoor/background-processing-pycon-my-2015
Assumption(s): You will setup your own virtual environment as necessary
-
Install requirements
$ pip install -r docs/requirements.txt
-
To run the django web
$ python manage.py runserver
Note: If you're using a new database, you'll need to create the database and run schemamigration.
$ python manage.py syncdb $ python manage.py migrate
-
To run the django-background-tasks worker
$ python manage.py process_tasks
-
To run the django-rq worker(s):
$ python manage.py rqworker default
Note: You will need to run redis. Default is localhost port 6379