All checks were successful
Build and deploy / Validate source (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 3m18s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m0s
CONTEXT.md records what is live and what is left before go-live. docs/guias/telas holds the seed of fictional orders and the screenshot script the guides' images came from, with the steps to take them again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
1.3 KiB
Markdown
28 lines
1.3 KiB
Markdown
# Screenshots for the guides
|
|
|
|
The images in `operador/img/` and `site/img/` come from the local stack seeded
|
|
with fictional customers. To take them again:
|
|
|
|
1. Start the local stack with the CI settings (`docs/LOCAL_SETUP.md`), clear it as
|
|
`seed.py` says, and run `seed.py` in the api container.
|
|
2. Start a container from the browser-tests image on the stack's network and
|
|
give it internet too, so Google Fonts load (the stack's network is internal):
|
|
|
|
```bash
|
|
docker run -d --name dtf-shots --network dtf-sistema_local \
|
|
-v "$PWD/docs/guias/telas:/g" -v /tmp/telas:/shots -e CHROME_BIN=/usr/bin/chromium \
|
|
dtf-sistema-browser-tests sleep 1800
|
|
docker network connect bridge dtf-shots
|
|
docker exec dtf-shots node /g/shots.mjs kanban
|
|
docker exec dtf-shots node /g/shots.mjs site
|
|
```
|
|
|
|
`site` also needs `/g/email-pedido.html`, the order e-mail rendered with
|
|
`app.mail_html.order_paid`.
|
|
3. Copy what changed from `/tmp/telas` into the `img/` folders (the print queue
|
|
column is cropped to 444x700 px), print with `../imprimir.sh` and check every
|
|
page: a page is fixed at A4 and cuts what does not fit.
|
|
|
|
Integrações is shown in its production state with fictional values set in the
|
|
page (shots.mjs), since the local stack has no Tiny or Mercado Pago.
|