#!/usr/bin/env bash set -euo pipefail ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" cd "$ROOT" python -m venv .venv source .venv/bin/activate python -m pip install --upgrade pip pip install -r requirements.txt if [ ! -f .env ]; then cp .env.example .env; fi printf '\nSetup complete. Edit .env, then run: source .venv/bin/activate && ./scripts/run_local.sh\n'