Local Setup
Install dependencies and run COREY from source.
Requirements
- Node.js 22
- pnpm 10
- Docker, if you want the optional Postgres and S3-compatible backend
Install
pnpm installThe postinstall script generates the Prisma client and Fumadocs source files.
Run The Viewer
pnpm devOpen http://localhost:4000, then choose an IFC file from disk. Local files are processed in the browser.
Optional Backend
Copy the environment template, then start the backing services:
cp .env.example .env
docker compose --env-file .env -f docker/docker-compose.yml up -d postgres minio minio-init
pnpm db:deploy
pnpm devThe backend mode enables server model uploads, persisted drafts, rule templates, Excel compute routes, and server-model IFC writeback.
Verification
Run the standard checks before opening a pull request:
pnpm verifyFor narrower checks:
pnpm lint
pnpm check:assets
pnpm build
pnpm audit:prod