#!/bin/bash # Load environment variables if [ -f .env ]; then export $(cat .env | grep -v '^#' | xargs) fi # Run database migrations cd app alembic upgrade head # Start the application cd .. uvicorn main:app --host 0.0.0.0 --port $PORT