From 245f499f04c6a045b8b764f066c028b13a7889ba Mon Sep 17 00:00:00 2001 From: Brad Anderson Date: Thu, 15 Oct 2026 19:37:05 -0700 Subject: [PATCH] docs: note restarting the app between screenshot runs --- docs/08-development/demo-data.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/08-development/demo-data.md b/docs/08-development/demo-data.md index 0f7ae53..78503ba 100644 --- a/docs/08-development/demo-data.md +++ b/docs/08-development/demo-data.md @@ -31,7 +31,9 @@ no real games. To retake them after a UI change: 1. Build the frontend (`npm run build`), then run the app on the demo data with a fresh user database, serving the built frontend (`SERVE_FRONTEND=true`). 2. Install Playwright: `npm install --no-save playwright && npx playwright install chromium`. -3. Run `node scripts/demo/take-screenshots.mjs http://localhost:3100`. +3. Run `node scripts/demo/take-screenshots.mjs http://localhost:3100`. Restart + the app with a fresh user database before running it again: repeated runs + trip the login rate limit. The script creates the first account, plays a few games for "Jump back in", fixes the browser's date so the Game of the Day is always the same, moves the