#!/bin/bash echo "Deploying" # Activate virtual environment source venv/bin/activate # Pull latest changes git pull # Install any new dependencies pip install -r requirements.txt # Run database migrations python manage.py migrate # Collect static files python manage.py collectstatic --noinput # Restart