#!/bin/sh # Exit on error set -e # Apply database migrations echo "Applying database migrations..." python manage.py migrate # Collect static files echo "Collecting static files..." python manage.py collectstatic --no-input # Create superuser if it doesn't exist echo "Creating superuser..." python manage.py shell <