biosim / scripts /demo_hackathon.sh
arminfg's picture
SimLab: lab automation RL env, OpenEnv adapter, Training UI, agents
da63ca8
#!/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