StatAgent / start.sh
mnoorchenar's picture
StatAgent code mirror
07c2907 verified
Raw History Blame Contribute Delete
226 Bytes
#!/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