Basecamp guide / Fleet
Basecamp and Outpost
Basecamp is the control plane: an FJS app you run that holds your fleet as rows and sends the commands. Outpost is the small process each fleet machine runs, so Basecamp has hands on it.
cd packages/basecamp
bun run dev # API on :8120 and the UI on :8020
bun run db:seed # an example fleet: 4 users, 2 workspaces, servers, deployments
Then sign in at http://localhost:8020 as sam@example.com with hunter2hunter2.
What else it can do
- Basecamp is built entirely in FrontierJS: Litestone for data, Junction for services, Sierra and Mesa for the UI
- An empty database gets a first-run wizard at
http://localhost:8020, orPOST /setupover HTTP - Access is per workspace:
viewer,developer,adminandownermap onto the gate ladder - Outpost answers signed commands (pull, build, deploy, stop, health-check, exec, prune) and reports with a heartbeat
- Outpost is plain Bun with one dependency, not an FJS app, so a fleet server carries no schema or ORM
- Every Outpost route but
GET /healthrequires a signature, and the command port serves TLS only - Each side holds its own Ed25519 key pair, and the private halves never travel
bun run dev:outpostenrolls this laptop as a fleet machine, a real Outpost on 8180/8181fli tutor:fleetwalks one control plane, one machine and one real release end to endbcampis Basecamp's own command line, built withbun run build:cli
In depth: Basecamp README § Quick start, Outpost README