β‘Quick Start: Running UpGrade with Docker (on macOS or Linux)
This guide walks you through running UpGrade locally using Docker. The steps are simple and consistent so you can set up the backend, frontend, and database quickly.
1. Install Node.js (via nvm)
UpGrade currently uses Node v22.14.0 for both development and build compatibility.
# Install nvm (Node Version Manager)curl-o-https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh|bash# Load nvm into the current shellsource~/.zshrc# or ~/.bashrc depending on your shell# Install Node v22.14.0nvminstall22.14.0# Use that versionnvmuse22.14.0# Verifynode-v# v22.14.0npm-v
2. Install Docker
UpGradeβs Docker environment requires Docker Engine and Docker Compose.
git clone https://github.com/CarnegieLearningWeb/UpGrade.git
cd UpGrade
# Root
npm ci
# Backend root
cd backend
npm ci
# Types package
cd ../types
npm ci
cp -R . ../backend/packages/Upgrade/types # copy types into backend package
# Backend Upgrade package
cd ../backend/packages/Upgrade
npm ci
# Frontend
cd ../../../frontend
npm ci
cd ..
cd backend/packages/Upgrade
cp .env.docker.local.example .env.docker.local