cookiecutter-django/{{cookiecutter.repo_name}}/Procfile

5 lines
250 B
Plaintext
Raw Normal View History

web: gunicorn config.wsgi:application
2015-12-12 10:10:08 +03:00
{% if cookiecutter.use_celery == "y" -%}
2015-12-16 02:29:00 +03:00
worker: {% if cookiecutter.use_newrelic == "y" %}newrelic-admin run-program {% endif %}celery worker --app={{cookiecutter.repo_name}}.taskapp --loglevel=info
2015-12-12 10:10:08 +03:00
{%- endif %}