Skip to content

Commit e07b4a8

Browse files
author
Troy
committed
docs: update runbook for easier development
1 parent 87ec0ff commit e07b4a8

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

docs/RUNBOOK.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ npm install --legacy-peer-deps
1212

1313
(this project was created before peer dependencies were enforced)
1414

15-
### Building
15+
### Iterating
1616

17-
```sh
18-
# Build client and output to ./webpage/
19-
npm run build
20-
```
17+
1. Rebuild styles as they change:
18+
19+
`npm run watch:styles`
20+
1. Rebuild code and serve all static files:
21+
22+
`npm run dev-wp`
23+
1. Open [localhost:8080](http://localhost:8080) in your browser
2124

2225
### Quality checks
2326

@@ -47,7 +50,7 @@ The [GitHub workflow](../.github/workflows/deploy.cloudflare.yml) will automatic
4750

4851
There is a regular check that ensures the site is showing an element rendered by react.
4952

50-
It also ensures the static files are cached in an AU/NZ region.
53+
As a side effect, it ensures the static files are cached in an AU/NZ region.
5154

5255
https://oceania.grafana.net/a/grafana-synthetic-monitoring-app/checks
5356

0 commit comments

Comments
 (0)