{"id":21001538,"url":"https://github.com/divio/aldryn-celery","last_synced_at":"2025-05-14T23:32:43.354Z","repository":{"id":38452935,"uuid":"50339429","full_name":"divio/aldryn-celery","owner":"divio","description":"An opinionated Celery setup bundled as an Aldryn Addon. To be used together with aldryn-django. * Deprecated * ","archived":false,"fork":false,"pushed_at":"2022-06-03T13:13:59.000Z","size":24,"stargazers_count":2,"open_issues_count":14,"forks_count":5,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-03T01:11:10.383Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divio.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-25T09:15:04.000Z","updated_at":"2022-10-07T08:15:41.000Z","dependencies_parsed_at":"2022-08-20T02:21:57.000Z","dependency_job_id":null,"html_url":"https://github.com/divio/aldryn-celery","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-celery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-celery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-celery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-celery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divio","download_url":"https://codeload.github.com/divio/aldryn-celery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254248453,"owners_count":22039008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T08:15:39.868Z","updated_at":"2025-05-14T23:32:38.286Z","avatar_url":"https://github.com/divio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Deprecated**\n\nThis project is no longer supported.\n\nDivio will undertake no further development or maintenance of this project. If you are interested in continuing to \ndevelop it, use the fork functionality from GitHub. We are not able to transfer ownership of the repository to another \nparty.\n\n=============\nAldryn Celery\n=============\n\n|PyPI Version|\n\nAn opinionated Celery setup bundled as an Aldryn Addon.\nTo be used together with aldryn-django.\n\nContributing\n============\n\nThis is a an open-source project. We'll be delighted to receive your\nfeedback in the form of issues and pull requests. Before submitting your\npull request, please review our `contribution guidelines\n\u003chttp://docs.django-cms.org/en/latest/contributing/index.html\u003e`_.\n\nWe're grateful to all contributors who have helped create and maintain this package.\nContributors are listed at the `contributors \u003chttps://github.com/divio/aldryn-celery/graphs/contributors\u003e`_\nsection.\n\n======================\nInstallation \u0026 Updates\n======================\n\n`Installation Documentation on docs.divio.com \u003chttp://docs.divio.com/en/latest/how-to/configure-celery.html\u003e`_\n\n*********************\nAldryn Platform Users\n*********************\n\nAsk Aldryn staff to add this Addon to your Project. It is currently still\nhidden.\n\nAldryn staff has to:\n * provision a rabbitmq vhost and set the ``BROKER_URL`` environment variable.\n * configure the additional worker processes to run in the background (celeryd,\n   celerybeat and celerycam)\n\n\n*******************\nManual Installation\n*******************\n\ntbd.\n\n\nUsage\n=====\n\nrough notes:\n\nsee ``aldryn_config.py`` to see the environment variables that can be used as\nknobs.\n\nUse the following commands to start the celery processes:\n\n* ``aldryn-celery worker``\n* ``aldryn-celery beat``\n* ``aldryn-celery cam``\n\nLocal setup on Aldryn Platform\n==============================\n\nAdd the following services to your ``docker-compose.yml`` file::\n\n    celeryworker:\n      command: aldryn-celery worker\n    celerybeat:\n      command: aldryn-celery beat\n    celerycam:\n      command: aldryn-celery cam\n    rabbitmq:\n      image: rabbitmq:3.5-management\n      hostname: rabbitmq\n      ports:\n        - \"15672:15672\"\n      expose:\n        - \"15672\"\n      environment:\n        RABBITMQ_ERLANG_COOKIE: \"secret cookie here\"\n\nFor ``celeryworker``, ``celerybeat`` and ``celerycam`` copy in all the options from the ``web`` service, except ``ports``.\n\nIn ``web``, ``celeryworker``, ``celerybeat`` and ``celerycam`` add::\n\n    links:\n      - \"rabbitmq:rabbitmq\"\n\nIn ``.env-local`` add the following::\n\n    RABBITMQ_ERLANG_COOKIE=\"secret cookie here\"\n    BROKER_URL=\"amqp://guest:guest@rabbitmq:5672/\"\n\n``docker-compose up`` or ``divio project up`` will now also startup celery.\nRun ``docker-compose stop web \u0026\u0026 docker-compose rm web \u0026\u0026 docker-compose up -d web`` for the ``web`` service to pick up the new env vars.\nKeep in mind, that celery does not auto reload on code changes. So you need to ``docker-compose restart celeryworker`` after every code change.\n\n.. |PyPI Version| image:: http://img.shields.io/pypi/v/aldryn-celery.svg\n   :target: https://pypi.python.org/pypi/aldryn-celery\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivio%2Faldryn-celery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivio%2Faldryn-celery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivio%2Faldryn-celery/lists"}