| # Run Phase 5 Backend Locally | |
| set -e | |
| echo "π Starting Phase 5 Backend..." | |
| cd backend | |
| # Activate virtual environment (if exists) | |
| if [ -d "venv" ]; then | |
| source venv/bin/activate | |
| fi | |
| # Install dependencies | |
| echo "π¦ Installing dependencies..." | |
| pip install -q -r requirements.txt | |
| # Start application | |
| echo "π― Starting server on http://localhost:8000" | |
| uvicorn src.main:app --host 0.0.0.0 --port 8000 --reload | |