Run wrkin.space locally with Docker, Postgres, MinIO, and the collab server.
Last updated May 27, 2026
From the repository root:
pnpm setup This creates .env, installs dependencies, starts Docker services, pushes the schema, and optionally seeds demo data.
In one terminal:
pnpm dev In another terminal (required for collaborative Docs):
pnpm collab:dev Open http://localhost:5173.
Copy variables from .env.example. At minimum you need:
DATABASE_URLBETTER_AUTH_SECRETS3_* values for MinIOPUBLIC_COLLAB_WS_URL=ws://localhost:1234 for Docs editing| Command | Description |
|---|---|
pnpm db:start | Start Postgres + MinIO |
pnpm db:push | Sync schema locally |
pnpm db:seed | Load demo data |
pnpm check | Type-check the app |