COREY

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 install

The postinstall script generates the Prisma client and Fumadocs source files.

Run The Viewer

pnpm dev

Open 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 dev

The 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 verify

For narrower checks:

pnpm lint
pnpm check:assets
pnpm build
pnpm audit:prod