mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-28 20:44:04 +03:00
Add celery worker to Procfile
This commit is contained in:
parent
ae0a2b82ba
commit
681247e4b7
|
@ -1 +1,4 @@
|
|||
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 %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user