Skip to main content
Panduan singkat untuk developer baru. Setup cepat: Quickstart.

Prasyarat

  • Bun 1.3+
  • Postgres lokal atau Neon dev
  • File .env di root (salin dari .env.example)

Struktur kerja

Branch & commit

  • Branch dari main: feat/..., fix/..., docs/...
  • Commit message: conventional commits (feat:, fix:, docs:)
  • PR ke main — CI harus hijau

CI yang harus lulus

Detail: CI/CD

Setelah ubah frontend

Wajib browser check — lihat Playwright.

Setelah ubah docs

Tambahkan halaman baru ke docs.json navigation.

Env & secrets

  • Shared: .env (gitignored)
  • Override dev: .env.development.local
  • Override prod: .env.production.local
  • Merge: ./thub env merge
Jangan commit secret. Deploy secrets: Secrets.

Deploy

  • Production: manual via GitHub Actions Deploy Cloudflare atau ./thub deploy lokal
  • Bukan auto-deploy on merge

Di mana cari konteks

Repo

github.com/trisnalesmana/aimentor