#!/usr/bin/env bash set -e echo "── Setting up Django backend ──────────────────────────────────────────────" cd backend python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt python manage.py migrate python manage.py setup_oauth echo "" echo "── Setting up React frontend ──────────────────────────────────────────────" cd ../frontend npm install echo "" echo "── Done! ──────────────────────────────────────────────────────────────────" echo "" echo "Start the backend:" echo " cd backend && source .venv/bin/activate && python manage.py runserver" echo "" echo "Start the frontend (new terminal):" echo " cd frontend && npm run dev" echo "" echo "Open http://localhost:5173" echo "Credentials: admin / admin123"