#!/usr/bin/env bash set -euo pipefail cd "$(dirname "$0")/.." source .venv/bin/activate ENV_FILE=".env" if [ ! -f "$ENV_FILE" ]; then echo "missing $ENV_FILE. copy .env.example to .env first." exit 1 fi exec uvicorn app.main:app --env-file "$ENV_FILE" --host 127.0.0.1 --port 8000 --reload