Start the web server first:
bun upThen start the CLI separately:
bun start-cliOther service commands:
bun ps # check running services
bun down # stop servicesTo run multiple stacks on different ports, create .env.development.local:
PORT=3001
NEXT_PUBLIC_WEB_PORT=3001
NEXT_PUBLIC_CODEBUFF_APP_URL=http://localhost:3001Logs are in debug/console/ (db.log, studio.log, sdk.log, web.log).
- Use
bun install,bun run ...(avoidnpm).
Edit schema using Drizzle's TS DSL (don't hand-write migration SQL), then run the internal DB scripts to generate/apply migrations.