chore: makefile + setup

This commit is contained in:
2026-07-14 21:38:27 +02:00
parent 5fbe70b6db
commit d2270a737b
8 changed files with 246 additions and 11 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Wrapper for the reminder cron job. Cron runs with almost no environment, so the
# settings (and the VAPID keys) have to be loaded explicitly.
set -euo pipefail
PROJECT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$PROJECT_DIR"
if [ -f .env ]; then
set -a
# shellcheck disable=SC1091
. ./.env
set +a
fi
exec "${UV:-uv}" run --no-sync python manage.py send_reminders "$@"