mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-30 05:24:01 +03:00
11 lines
385 B
Plaintext
11 lines
385 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 %}
|