File size: 226 Bytes
07c2907
 
 
 
 
 
1
2
3
4
5
6
7
#!/bin/sh
# Start the three services: R plumber (8001) -> FastAPI agent (8000) -> Shiny UI (7860)
Rscript r/run_api.R &
python -m uvicorn statagent.api:app --host 127.0.0.1 --port 8000 &
sleep 8
exec Rscript scripts/run_app.R