- Install node
⚠️ DO NOT USE NODE PROVIDED BY BREW⚠️
curl -fsSL https://fnm.vercel.app/install | bash
fnm use 22
fnm default 22
- Install dependencies
# you may need to do this first to properly set up yarn
corepack enable
# install dependencies for root + all sub-projects
yarn install
yarn install --cwd server
- Bring up dev containers
docker compose up -d
- Create config file:
.code_glue.template
to.code_glue
& fill in variables (for server)
Command | Notes |
---|---|
yarn server:start / yarn server:start:hot |
Start the dev server |
yarn server:lint / yarn server:lint --fix |
Run eslint |
yarn server:test / yarn server:test --coverage |
Run tests |
yarn server:build |
Verify there is no build issues |