Skip to content

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.

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.

Terminal window
node --version # v22.x

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 identity has to be a sibling. @indy-center/identity isn’t published to a registry. charts’ lockfile resolves it by relative path to ../identity, so charts won’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/:

Terminal window
cd identity && npm install && npm run build:lib

With that built, Running identity brings identity up locally.

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.