Digital-Alchemy-TS / code-glue

Top secret stuff
1 stars 0 forks source link

🏗️ Workspace Setup

  1. Install node

⚠️ DO NOT USE NODE PROVIDED BY BREW ⚠️

curl -fsSL https://fnm.vercel.app/install | bash

fnm use 22
fnm default 22
  1. 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
  1. Bring up dev containers
docker compose up -d
  1. Create config file:

🎛️ General Commands

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