Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 750 Bytes

File metadata and controls

44 lines (28 loc) · 750 Bytes

Development

Getting Started

Start the web server first:

bun up

Then start the CLI separately:

bun start-cli

Other service commands:

bun ps    # check running services
bun down  # stop services

Worktrees

To run multiple stacks on different ports, create .env.development.local:

PORT=3001
NEXT_PUBLIC_WEB_PORT=3001
NEXT_PUBLIC_CODEBUFF_APP_URL=http://localhost:3001

Logs

Logs are in debug/console/ (db.log, studio.log, sdk.log, web.log).

Package Management

  • Use bun install, bun run ... (avoid npm).

Database Migrations

Edit schema using Drizzle's TS DSL (don't hand-write migration SQL), then run the internal DB scripts to generate/apply migrations.