File size: 780 Bytes
da63ca8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
# Hackathon live demo — start API + remind steps.
# Run from repo root:  ./scripts/demo_hackathon.sh

set -e
cd "$(dirname "$0")/.."

echo "=== SimLab Hackathon Demo ==="
echo ""
echo "1. Start the API (leave this running):"
echo "   uvicorn server.app:app --host 0.0.0.0 --port 8000"
echo ""
echo "2. In another terminal, start the UI:"
echo "   cd v0ap && pnpm dev"
echo ""
echo "3. Open http://localhost:3000"
echo "   - Training:  /training   (set 500 episodes, Start Training, show chart + comparison)"
echo "   - Lab run:   /workflows/pcr-amplification   (Run Naive → Run with AI Agent)"
echo ""
read -p "Start API in this terminal now? [y/N] " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
  exec uvicorn server.app:app --host 0.0.0.0 --port 8000
fi