Self-host
Scripts & commands
Root-level Bun scripts for development and CI.
All commands assume the repository root unless noted.
Development
| Command | Description |
|---|---|
bun run dev | Next.js dev server for apps/web. |
bun run docs:dev | Fumadocs dev server for apps/docs (port 3001). |
Build & run
| Command | Description |
|---|---|
bun run build | prisma generate + production build for apps/web (Turbo). |
bun run build:all | Build web and docs in parallel. |
bun run start | Production server for apps/web. |
bun run docs:build | Production build for apps/docs. |
bun run docs:types | fumadocs-mdx + Next typegen + tsc for docs. |
Database
| Command | Description |
|---|---|
bun run db:migrate | prisma migrate dev (cwd apps/web). |
bun run db:generate | prisma generate only. |
Quality
| Command | Description |
|---|---|
bun run lint | ESLint (repo-wide). |
bun run format | Prettier for *.ts / *.tsx. |
bun run typecheck | tsc --noEmit in apps/web. |
bun test | Bun test runner (apps/web). |
bun run build triggers prisma generate in apps/web; postinstall on the web package also runs prisma generate after installs.