Spaces:
Runtime error
Runtime error
| # Start FlowTwin. Serves the API and the Race Control dashboard on one port. | |
| set -euo pipefail | |
| cd "$(dirname "$0")/backend" | |
| HOST="${FLOWTWIN_HOST:-127.0.0.1}" | |
| PORT="${FLOWTWIN_PORT:-8000}" | |
| echo "FlowTwin — Race Control" | |
| echo " http://${HOST}:${PORT}" | |
| exec python -m uvicorn flowtwin.main:app --host "$HOST" --port "$PORT" | |