cookiecutter-django/{{cookiecutter.project_slug}}/Procfile
Andrew-Chen-Wang f0813a24b2 Added Heroku and Gulp support
* Deleted some unnecessary info inside asgi.py
2020-04-13 10:57:42 -04:00

11 lines
383 B
Plaintext

release: python manage.py migrate
{% if cookiecutter.use_async == "y" -%}
web: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker
{%- else %}
web: gunicorn config.wsgi:application
{%- endif %}
{% if cookiecutter.use_celery == "y" -%}
worker: celery worker --app=config.celery_app --loglevel=info
beat: celery beat --app=config.celery_app --loglevel=info
{%- endif %}