cd /Users/g.jaiswal/Documents/Hackron/SKAG_MedTech
source venv/bin/activate # Activate virtual environment
python -m backend.runWait for: AdaptiveCare backend started successfully
URL: http://localhost:8000
cd /Users/g.jaiswal/Documents/Hackron/SKAG_MedTech/frontend
npm run devWait for: Local: http://localhost:5173
URL: http://localhost:5173
- Open browser: http://localhost:5173
- Navigate to Simulation Control (left sidebar)
- Scroll to "🤖 AI Scenario Generator" card
- Type a prompt:
10 ICU beds, 9 filled, ambulance with 2 critical patients - Click "Generate Scenario"
- See parsed scenario appear below
- Click "START" to run it
- Start a simulation first (any scenario)
- Wait for simulation to be running
- Scroll to "⚡ Inject Live Event" card (appears when running)
- Type an event:
ambulance with critical patient arrives now - Click "🚑 Inject Event Now"
- Watch dashboard for new patient + decision!
- Start simulation
- Navigate to Dashboard
- Watch for:
- Patients appearing in queue
- Capacity meters updating
- Decisions streaming in right panel (Live Decisions)
- Click on a decision card to see AI reasoning
# Make sure you're in the project root
cd /Users/g.jaiswal/Documents/Hackron/SKAG_MedTech
# Activate venv
source venv/bin/activate
# Check Python version (need 3.8+)
python --version
# Run backend
python -m backend.run# Install dependencies if needed
npm install
# Then run
npm run dev- Check backend terminal - should say "backend started successfully"
- Check browser console (F12) for WebSocket errors
- Try stopping and restarting simulation
- Make sure you selected a scenario and clicked START
- With Gemini API: Set
GOOGLE_API_KEYin.envfile - Without API: Will use rule-based parser (still works!)
Create .env file in project root:
GOOGLE_API_KEY=your_gemini_api_key_here # For AI scenario parsingWithout API key, the system uses rule-based parsing (works fine for demos).
- Start both servers (backend + frontend)
- Open: http://localhost:5173
- Go to: Simulation Control
- Try AI Generator:
- Type: "10 ICU beds, 9 full, 2 ambulances coming"
- Click Generate
- Start: Click START button
- Go to: Dashboard
- Watch: Decisions appear in ~10-15 seconds
- Inject Event:
- Back to Simulation Control
- Type: "ambulance with critical patient"
- Click Inject
- Return to Dashboard: See new patient + decision!
Total demo time: 2-3 minutes ⚡
Before presenting:
- ✅ Test the full flow once
- ✅ Keep both servers running
- ✅ Have browser on Dashboard page
- ✅ Prepare 2-3 prompt examples
During demo:
- Use "Busy Thursday" scenario (best results)
- Or use AI Generator for wow factor
- Inject event mid-demo to show adaptability
🎯 You're all set!