Skip to content

Set up celery#459

Open
paulapreuss wants to merge 12 commits intomainfrom
feature/celery-beat
Open

Set up celery#459
paulapreuss wants to merge 12 commits intomainfrom
feature/celery-beat

Conversation

@paulapreuss
Copy link
Copy Markdown

@paulapreuss paulapreuss commented Apr 16, 2026

To allow to run scheduled jobs again and fix #381. Used to be handled with Django-Q but being updated due to Django Q being outdated and to share a similar setup with other repositories for easier maintenance. The configuration is mostly identical to what is used on the offgridplanner. I also fixed some errors on the dependabot config in this PR, but it is unrelated to the celery function.

@Bachibouzouk there is already an instance of beat/celery worker running on the server watching the sandbox server, all seems to be working. Simulations can be started, return to the projects page and the simulation status will be updated automatically on refresh when it changes.

Once we merge these changes into main, what should need to be done on the server is:

  • change the branches from which to deploy the celery instances on the server (from feature/celery-beat to main)
  • point to the production database instead of the sandbox one
  • set up the webhooks for the celery instances to also update automatically on push

@paulapreuss paulapreuss changed the title Set up celery for repository Set up celery Apr 16, 2026
@paulapreuss paulapreuss force-pushed the feature/celery-beat branch 2 times, most recently from 3fd7556 to 0329b5e Compare April 16, 2026 17:34
@paulapreuss paulapreuss force-pushed the feature/celery-beat branch from e5369c5 to d944b88 Compare April 16, 2026 17:53
@paulapreuss paulapreuss marked this pull request as ready for review April 20, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The notice about the simulation status is not updating under my projects

1 participant