Compare commits
2 commits
main
...
add-agents
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
392dbd4c60 | ||
|
|
888f63537a |
1 changed files with 7 additions and 4 deletions
11
AGENTS.md
11
AGENTS.md
|
|
@ -38,13 +38,16 @@ git checkout -b describe-your-change # e.g. update-opening-hours
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2. Preview locally before shipping
|
### 2. Preview locally before shipping
|
||||||
From the repo root, start a local server and open it in a browser:
|
From the repo root, start a local static server and open http://localhost:8000 in a
|
||||||
|
browser. Use whichever fits your OS:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python3 -m http.server 8000
|
python3 -m http.server 8000 # macOS / Linux
|
||||||
# then open http://localhost:8000
|
py -m http.server 8000 # Windows
|
||||||
|
npx serve # any OS with Node.js
|
||||||
```
|
```
|
||||||
(No Python? `npx serve` or any static file server works — just serve the repo root.)
|
(Any static file server works — just serve the repo root so absolute paths like
|
||||||
|
`/css/style.css` resolve.)
|
||||||
|
|
||||||
Visually check every page you touched. **Do not ship a change you have not previewed.**
|
Visually check every page you touched. **Do not ship a change you have not previewed.**
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue