Getting started
This gets Orbit running on your machine with a demo workspace you can click around in. It takes about five minutes, most of which is Docker pulling images.
What you need
| Tool | Version | Why |
|---|---|---|
| Bun | 1.4.5 or newer | Installs packages, runs scripts, runs TypeScript, runs tests |
| Node.js | 26.x | Fresh server-runtime import checks in tests and bun run verify |
| Docker | Any recent version | Postgres, Redis and object storage |
| Git | Any | Obviously |
Bun replaces npm, pnpm, yarn, ts-node, jest and turbo, so do not install any of those. Keep Node 26.x on your PATH for the runtime checks; Bun remains the package manager and test runner.
Install Bun if you do not have it:
curl -fsSL https://bun.sh/install | bashSet it up
git clone https://github.com/Noveum/orbit.git
cd orbit
bun install
cp .env.example .env.env.example is a working local configuration. You do not need to edit it to get started, and every secret in it is a placeholder that only works locally.
Start the backing services:
bun run infra:upThat runs Postgres on 5434, Redis on 6380 and MinIO on 9010, all through docker-compose.yml. The ports are deliberately not the defaults, so Orbit does not collide with anything else you have running.
Create the schema, create the test databases, and load the demo data:
bun run db:push
bun run db:test-setup
bun run db:seedThen start everything:
bun run devOpen http://localhost:3000.
Sign in
.env.example sets ORBIT_DEV_LOGIN=1, which puts a list of the seeded users on the login screen and signs you in with one click. No email, no password, no waiting for a sign-in code.
Start as alex@orbit.example, who is an admin on all three teams and sees everything.
The other seeded users are useful for seeing how permissions behave. They all sign in the same way:
| User | Role | Teams |
|---|---|---|
alex@orbit.example | Admin | Engineering, Design, Marketing |
sam@orbit.example | Admin | Engineering, Marketing |
jordan@orbit.example | Member | Engineering, Design |
casey@orbit.example | Member | Engineering, Design |
taylor@orbit.example | Member | Marketing |
robin@orbit.example | Contributor | Engineering |
drew@orbit.example | Guest | Marketing |
Sign in as drew@orbit.example to see what a guest can and cannot do. Buttons disappear, because the UI reads the same policy the server enforces.
ORBIT_DEV_LOGIN must never be set on a deployed environment. It signs anyone in as anyone.
What you just got
The seed creates a workspace with three teams, seven people, thirty two issues across every state, projects with milestones, sprints, docs and notifications.
Things worth trying first:
- Press Cmd K anywhere. That is the command palette, and it is how most of Orbit is meant to be driven.
- Go to the Engineering board and drag an issue between columns.
- Open the same board in a second tab and drag again. Both tabs update at once, with no refresh and no polling.
- Press g then s to jump to sprints, g then d for docs. Press ? for the full list.
- Open an issue and press s, p, a, r or l to change status, priority, assignee, reviewers or labels without clicking.
The ports
| Service | Port | Notes |
|---|---|---|
| Web | 3000 | The app |
| Realtime | 3100 | Local development only, never deployed |
| Postgres | 5434 | |
| Redis | 6380 | |
| MinIO (S3 API) | 9010 | |
| MinIO console | 9011 | Sign in with orbitminio and orbitminio |
The realtime server only exists locally, because next dev cannot upgrade a websocket. In production the socket is served on the app's own origin at /api/ws: by a Durable Object on Cloudflare Workers, or by the realtime service behind the gateway in Docker. See Architecture.
Day to day commands
bun run dev # web and realtime together, hot reloading
bun run verify # lint, comment policy, types, tests. The same four CI runs
bun run lint:fix # fix what Biome can fix
bun run db:seed # reset the demo data back to a known state
bun run db:studio # browse the database in Drizzle Studio
bun run infra:down # stop the containers, keep the data
bun run infra:reset # stop the containers and destroy the data
bun run test:e2e # Playwright, needs bun run dev already running
bun run screenshots # capture the docs screenshots, needs bun run dev runningTo run one package's tests quickly, run them from inside it:
cd packages/shared && bun testMaking changes
bun run dev hot reloads the web app. Schema changes need a push:
# after editing packages/db/src/schema/*.ts
bun run db:pushdb:push applies the schema directly, which is what you want in development. Generated migrations are for deployments. See Self-hosting.
Common first problems
bun run verify fails with connection errors. You skipped bun run db:test-setup. Run it. Each package tests against its own database.
Port already in use. Something else is on 3000, 5434, 6380 or 9010. Find it with lsof -i :3000. A previous bun run dev that did not shut down cleanly is the usual culprit.
Docker containers will not start. docker ps -a and look at the exit codes. If Postgres will not come up after a schema change went wrong, bun run infra:reset destroys the volumes and starts clean, then re-run db:push, db:test-setup and db:seed.
The login screen shows no users. Either ORBIT_DEV_LOGIN=1 is missing from .env, or you have not run bun run db:seed.
A "Reconnecting to live updates" banner will not go away. The realtime server is not running or NEXT_PUBLIC_REALTIME_URL is wrong. Locally it should be ws://localhost:3100, and the app connects to /api/ws under it. In production it must not be set at all.
Tests deadlock or hit foreign key errors for no reason. Two test runs are sharing a database. Set ORBIT_TEST_LANE to something unique in each.
Anything else, see Troubleshooting.
Next
- Concepts, so the vocabulary makes sense.
- Architecture, for how the realtime layer works.
- CONTRIBUTING.md, if you want to send a change.