mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 22:44:54 +03:00
Document Flower integration
This commit is contained in:
parent
03a14f41b2
commit
836fe1c67f
|
@ -170,3 +170,18 @@ When developing locally you can go with MailHog_ for email testing provided ``us
|
|||
#. open up ``http://127.0.0.1:8025``.
|
||||
|
||||
.. _Mailhog: https://github.com/mailhog/MailHog/
|
||||
|
||||
|
||||
Celery Flower
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
`Flower`_ is a "real-time monitor and web admin for Celery distributed task queue".
|
||||
|
||||
Prerequisites:
|
||||
|
||||
* ``use_docker`` was set to ``y`` on project initialization;
|
||||
* ``use_celery`` was set to ``y`` on project initialization.
|
||||
|
||||
By default, it's enabled both in local and production environments (``local.yml`` and ``production.yml`` Docker Compose configs, respectively) through a ``flower`` service. For added security, ``flower`` requires its clients to provide authentication credentials specified as the corresponding environments' ``.envs/.local/.django`` and ``.envs/.production/.django`` ``CELERY_FLOWER_USER`` and ``CELERY_FLOWER_PASSWORD`` environment variables. Check out ``localhost:5555`` and see for yourself.
|
||||
|
||||
.. _`Flower`: https://github.com/mher/flower
|
||||
|
|
Loading…
Reference in New Issue
Block a user