Spaces:
Running
Running
File size: 792 Bytes
df97e68 | 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 | # react/
Vite + React frontend for the Gov Workflow OpenEnv console.
Commands:
- `npm install`
- `npm run dev` (local dev on `http://localhost:5173`, proxies `/api` to `http://localhost:7860`)
- `npm run build` (production build for Docker/HF)
- `npm run preview`
If you see `ERR_CONNECTION_REFUSED` on `/api/*`:
- Start backend first on port `7860`
- Or set a custom dev proxy target:
- PowerShell: `$env:VITE_DEV_API_TARGET='http://127.0.0.1:7860'`
- Then run `npm run dev`
Modules:
- `Overview`: project and environment summary
- `Simulation Lab`: dynamic real-world workflow simulation (baseline / inference-like / trained RL)
- `Training Studio`: launch and monitor background RL training jobs
- `Model Comparison`: baseline vs trained model score comparison on the same task
|