docs: every change goes live right away
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
585f88fc81
commit
6b27906b6c
13
CLAUDE.md
13
CLAUDE.md
|
|
@ -31,9 +31,20 @@ pnpm i18n:check # fails on missing keys
|
|||
pnpm generate # static build for web and Steam
|
||||
```
|
||||
|
||||
## Finishing a change
|
||||
|
||||
Every change ends live, right away: the user wants each change on the URL as soon as it is done, not batched. The user has authorized this for this project: deploying the game's containers on edgerealm needs no further go-ahead.
|
||||
|
||||
1. `pnpm typecheck` and `pnpm i18n:check` pass, and the change works in the preview.
|
||||
2. Commit (small, one concern each) and push to `origin master`.
|
||||
3. Run `scripts/deploy-edgerealm.sh`. Done when it prints `Live: https://village.blax.at at <commit>`.
|
||||
4. Name the live commit in the reply. When the change needs a new backend contract, deploy the backend first.
|
||||
|
||||
The authorization covers only `/mnt/HC_Volume_102040804/srv/game-village-politics-frontend`, `/mnt/HC_Volume_102040804/srv/game-village-politics-backend` and their containers. Everything else on edgerealm (a host shared with customer sites) still needs the user's go-ahead.
|
||||
|
||||
## Deploy
|
||||
|
||||
The prototype runs on https://village.blax.at (edgerealm, `/mnt/HC_Volume_102040804/srv/game-village-politics-frontend`, container `village-politics-frontend`). It is the logigate setup with a static twist: a one-shot build container runs `pnpm generate` into `.output/public`, and nginx serves it with an SPA fallback (`docker/nginx.conf`). Build-time settings come from `.env` on the server, created from `.env.example` on the first deploy.
|
||||
The game runs on https://village.blax.at (edgerealm, `/mnt/HC_Volume_102040804/srv/game-village-politics-frontend`, container `village-politics-frontend`). It is the logigate setup with a static twist: a one-shot build container runs `pnpm generate` into `.output/public`, and nginx serves it with an SPA fallback (`docker/nginx.conf`). Build-time settings come from `.env` on the server, created from `.env.example` on the first deploy.
|
||||
|
||||
Commit and push to `origin master`, then run `scripts/deploy-edgerealm.sh`. It is done when it prints `Live: https://village.blax.at at <commit>`. On Windows, run it as `PATH="/c/Windows/System32/OpenSSH:$PATH" scripts/deploy-edgerealm.sh`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue