Setup
Before any Indy Center project runs locally, a machine needs Node 22 and a sibling checkout of identity. That’s the whole toolchain; everything else installs per project with npm install.
Node and Wrangler
Section titled “Node and Wrangler”CI runs Node 22 and no repository pins a version, so use 22. Wrangler comes with each project as a devDependency; run it with npx wrangler from inside the project.
node --version # v22.xDirectory layout
Section titled “Directory layout”Check projects out side by side under one parent directory, with identity alongside them:
indy-center/├── identity/├── charts/├── community-website/└── discord-bot/Clone only what you’re working on, plus identity.
Why
identityhas to be a sibling.@indy-center/identityisn’t published to a registry.charts’ lockfile resolves it by relative path to../identity, sochartswon’t install or build without that checkout beside it.
The package’s types live in identity’s gitignored dist/, and nothing builds them on install. Build them once, and again after pulling identity changes that touch src/client/:
cd identity && npm install && npm run build:libWith that built, Running identity brings identity up locally.
Wrangler login
Section titled “Wrangler login”Local development doesn’t need it. You need npx wrangler login only for work against the real IndyCenter account; Access covers what that includes and how to get added.