schon/scripts/Docker/beat-entrypoint.sh
Egor fureunoir Gorbunov 97785b29db Features: 1) Add multilingual title and content fields to the Post model in blog; 2) Introduce translation registration for Post in a new blog/translation.py; 3) Enhance PostAdmin with mixins and readonly slug.
Fixes: 1) Fix shebangs in Docker entry-point scripts to use `/usr/bin/bash`.

Extra: 1) Refactor slug fields in `core` migrations for `Brand`, `Category`, and `Product`; 2) Cleanup and simplify admin code in `core/admin.py`.
2025-06-29 16:14:59 +03:00

8 lines
No EOL
209 B
Bash

#!/usr/bin/bash
set -e
# wait for auxiliary services
poetry run python manage.py await_services
# run beat
poetry run celery -A evibes beat -l info --scheduler django_celery_beat.schedulers:DatabaseScheduler