ttvdrops/start.sh

11 lines
225 B
Bash
Executable file

#!/bin/sh
set -e
echo "Running database migrations..."
uv run python manage.py migrate --noinput
echo "Collecting static files..."
uv run python manage.py collectstatic --noinput
echo "Starting Django server..."
exec "$@"