app='/srv/app'
manage=$app'/manage.py'
wsgi=$app'/wsgi.py'
+concurrency=12
# stating apps
pip uninstall -y south
pip install -e git+https://github.com/Parisson/django-jqchat.git@dj1.8#egg=django-jqchat
pip install -e git+https://github.com/Parisson/saved_searches.git@dj1.8#egg=saved_searches-2.0.0-beta
-
# waiting for other services
bash $app/scripts/wait.sh
# Starting celery worker with the --autoreload option will enable the worker to watch for file system changes
# This is an experimental feature intended for use in development only
# see http://celery.readthedocs.org/en/latest/userguide/workers.html#autoreloading
-python $manage celery worker --autoreload -A worker
+python $manage celery worker --autoreload -A worker --concurrency=$concurrency