Add combined development server launcher

This commit is contained in:
2026-07-10 19:09:16 -07:00
parent 9a5a319cb9
commit 929941b8ff
3 changed files with 48 additions and 2 deletions

View File

@@ -173,8 +173,16 @@ pirats/
### Frontend Development
Run the backend (`pirats --reload`) and the Vite dev server side by side; Vite proxies `/api` to port 8000:
Start the backend and Vite dev server together from the repository root. Pressing Ctrl-C stops both:
```bash
./dev.sh
```
To run only the frontend, start the backend separately on port 8000, then run:
```bash
cd frontend && npm install && npm run dev
```
Vite proxies `/api` to the backend on port 8000.