Add celery worker to Procfile

This commit is contained in:
stepmr 2015-12-11 23:10:08 -08:00
parent ae0a2b82ba
commit 681247e4b7

View File

@ -1 +1,4 @@
web: gunicorn config.wsgi:application web: gunicorn config.wsgi:application
{% if cookiecutter.use_celery == "y" -%}
worker: {% if cookiecutter.use_newrelic == "y" %}newrelic-admin run-program {% endif %}celery worker --app=stairmaster.taskapp --loglevel=info
{%- endif %}