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 shell
source ~/.zshrc     # or ~/.bashrc depending on your shell

# Install Node v22.14.0
nvm install 22.14.0

# Use that version
nvm use 22.14.0

# Verify
node -v     # v22.14.0
npm -v

2. Install Docker

UpGrade’s Docker environment requires Docker Engine and Docker Compose.

macOS (Docker Desktop)

  1. Install the .dmg and move Docker.app into Applications

  2. Open Docker.app

Linux (Ubuntu/Debian)


3. Clone & Install UpGrade

This installs all backend, types, and frontend dependencies in the correct order.


4. Backend Environment Setup

Go to the Upgrade backend package:

Edit .env.docker.local and update:


5. Frontend Environment Setup

Edit:

This must match the backend’s Google client ID.


6. Start the App (Docker)

To launch the backend API, frontend UI, and PostgreSQL database:


7. Access the Services

Backend API:

Frontend UI:


Setup Complete 🎉

You now have UpGrade running with Docker:

  • PostgreSQL (inside Docker)

  • UpGrade backend API (Node.js)

  • UpGrade frontend UI (Angular)

  • All running together in isolated containers

Last updated