Files
alla-allaos-fullstack/docs/operations/system-bootstrap.md
2026-06-27 22:14:16 +07:00

682 B

System Bootstrap

Fresh local development

npm install
ALLOW_DB_RESET=true npm run db:fresh
npm exec tsc --noEmit
npm run dev

Fresh UAT or demo data

ALLOW_DB_RESET=true npm run db:fresh:uat

Existing database upgrade

npm run db:migrate
npm run seed:system

PDF template reseed only

npm run seed:pdf-template

Verification

npm exec tsc --noEmit
npm run build
npm run verify:encoding
npm run verify:crm-access
npm run audit:pdf

Script guide

  • db:* = database lifecycle
  • seed:* = data bootstrap
  • verify:* = validation
  • audit:* = diagnostics
  • legacy:* = historical task-specific tools