mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-24 02:24:07 +03:00
895298c28f
- Change celery app to not be a Django app, more like a WSGI app - Define a Celery task in the Django users app - Write a test to execute the task - Update scripts to use the new app to start workers - Update documentation Fix #865
6 lines
188 B
Plaintext
6 lines
188 B
Plaintext
release: python manage.py migrate
|
|
web: gunicorn config.wsgi:application
|
|
{% if cookiecutter.use_celery == "y" -%}
|
|
worker: celery worker --app=config.celery_app --loglevel=info
|
|
{%- endif %}
|