Skip to content
Logo

Local setup

Requirements are pinned in the repository: Node.js, pnpm, Vite+, Wrangler, and Foundry.

pnpm install --frozen-lockfile
pnpm check
pnpm test
pnpm build
pnpm --filter @stables/web build

Run the Workers application with pnpm --filter @stables/web dev. Its startup builds Vocs and mounts the generated site at /docs before starting React Router. Use pnpm --filter @stables/docs dev only when authoring documentation in isolation.

Run contract checks from packages/contracts using forge fmt --check, forge build, and forge test.

Never place signing keys or partner credentials in .dev.vars, committed configuration, deployment registries, or documentation. Use Wrangler secrets or Cloudflare Secrets Store bindings.