mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-28 13:28:18 +00:00
Merge pull request #442 from stepmr/patch-3
Add celery worker to Procfile
This commit is contained in:
commit
40bce156c6
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue