Skip to content

Commit 16b0b51

Browse files
skyhong2002claude
andcommitted
Document ship-by-default workflow and deploy runbook
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 147c74c commit 16b0b51

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# infovore — project defaults
2+
3+
## Workflow default (Sky's standing preference)
4+
5+
After completing any implementation task: run `npm run check`, then **commit,
6+
push to `main`, and deploy to production — without asking first**. Report the
7+
verification results (tests + a spot-check of the live site) when done.
8+
9+
- Stage files explicitly; never commit `.DS_Store` or scratch files.
10+
- Commit messages: short imperative subject matching the existing history.
11+
12+
## Deploy
13+
14+
Pushing to `main` does **not** auto-deploy (CI only runs checks). Production
15+
is a docker-compose stack on the Dokploy box behind the `skyhong.tw` SSH
16+
alias, serving https://infovore.skyhong.tw:
17+
18+
```sh
19+
ssh skyhong.tw 'cd /home/ubuntu/apps/status.skyhong.tw && git pull --ff-only && docker compose -f docker-compose.yml -f docker-compose.traefik.yml up -d --build'
20+
```
21+
22+
Verify after deploying: `curl https://infovore.skyhong.tw/healthz` should be
23+
`healthy`, and spot-check whatever pages the change touched. The SQLite data
24+
volume survives rebuilds; schema migrations run automatically on boot.

0 commit comments

Comments
 (0)