mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-22 08:38:13 +02:00
chore: update dev scripts and documentation
This commit is contained in:
parent
4a6752e62b
commit
15a7cd5b6d
5 changed files with 97 additions and 18 deletions
|
|
@ -109,6 +109,21 @@ tail -f logs/latest/*.log
|
|||
Get-Content logs/latest/*.log -Wait
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
#### Restarting the backend
|
||||
Re-run the same start script to restart. It reads the PID files under `run/`, terminates the previous services along with their descendants, and starts fresh ones.
|
||||
<CodeGroup>
|
||||
```bash macOS/Linux
|
||||
bash scripts/start_services_dev.sh
|
||||
```
|
||||
```powershell Windows
|
||||
.\scripts\start_services_dev.ps1
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
<Note>
|
||||
`uvicorn` runs with `--reload --reload-dir api`, so edits under `api/` are picked up automatically — no restart needed. The other services (`ari_manager`, `campaign_orchestrator`, `arq`) do **not** auto-reload; re-run the start script after changing code they execute.
|
||||
</Note>
|
||||
10. Start the UI
|
||||
```
|
||||
cd ui && npm run dev
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue