docs(runbooks): align env setup notes

This commit is contained in:
2026-03-09 01:05:40 +04:00
parent 8645a0a096
commit 7e4cb2ec80
2 changed files with 7 additions and 0 deletions

View File

@@ -61,6 +61,12 @@ bun run review:coderabbit
- Drizzle config is in `packages/db/drizzle.config.ts`.
- Typed environment validation lives in `packages/config/src/env.ts`.
- Copy `.env.example` to `.env` before running app/database commands.
- Local bot feature flags come from env presence:
- finance commands require `DATABASE_URL` and `HOUSEHOLD_ID`
- purchase ingestion also requires `TELEGRAM_HOUSEHOLD_CHAT_ID` and `TELEGRAM_PURCHASE_TOPIC_ID`
- anonymous feedback also requires `TELEGRAM_FEEDBACK_TOPIC_ID`
- reminders require `SCHEDULER_SHARED_SECRET` or `SCHEDULER_OIDC_ALLOWED_EMAILS`
- mini app CORS can be constrained with `MINI_APP_ALLOWED_ORIGINS`
- Migration workflow is documented in `docs/runbooks/migrations.md`.
- First deploy flow is documented in `docs/runbooks/first-deploy.md`.