File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments