mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 04:36:40 +00:00
Makes clear that multiple space- or comma-separated app ids are supported. Renames the env var, CLI flag (--app → --apps), and all references in scripts, workflows, and documentation. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.8 KiB
1.8 KiB
Iteration
Use this page when you are iterating on a local app deploy during debugging or development.
Loop
- Unless the user explicitly says to reuse the existing setup, you MUST start once with
APPS=<role> make deploy-fresh-purged-appto establish the baseline inventory and clean app state. - After that, you MUST use
APPS=<role> make deploy-reuse-kept-appfor the default edit-fix-redeploy loop. - Do NOT rerun
APPS=<role> make deploy-fresh-purged-appjust because a deploy failed or you changed code. That restarts the stack unnecessarily and burns time. - If the same failure still reproduces on the reuse path and you want to test whether app entity state is involved, use
APPS=<role> make deploy-reuse-purged-apponce. - After that targeted purge check, you MUST return to
APPS=<role> make deploy-reuse-kept-app. - Only go back to
APPS=<role> make deploy-fresh-purged-appif you have concrete evidence that the inventory or host stack is broken, or you intentionally need a fresh single-app baseline again. - If you need to validate the single-app init/deploy path separately, use
APPS=<role> make deploy-fresh-kept-app. It checks the clean single-app setup apart from the faster reuse path.
Certificate Authority
- If the website uses locally deployed certificates, you MUST run
make trust-cabefore you inspect it in a browser. Otherwise the browser will warn about the local CA and the inspection will not be reliable. - After
make trust-ca, you MUST restart the browser so it picks up the updated trust store.
Inspect
- Before you redeploy, you MUST complete all available inspections first. Check the live local output, local logs, and current browser state so the original state stays visible.
- To inspect files or run commands inside a running container, use
make exec.