⚑Quick Start: Running locally w/o Docker (on MacOS or Linux)

This guide walks you through setting up the UpGrade locally using Node.js and PostgreSQL, without Docker. The steps are intentionally simple and linear so that anyone can complete the setup smoothly.


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 PostgreSQL

We recommend Postgres.app on macOS because it is the simplest and most reliable way to run PostgreSQL locally.

  1. Move it to your Applications folder

  2. Open the app

  3. Click Initialize

  4. Open Server Settings β†’ rename the server to dev


3. (Optional) DataGrip Setup

If you want a GUI to inspect the database:

  1. Download and install Datagrip from https://www.jetbrains.com/datagrip/download

  2. Open Datagrip and click "New Project".

  3. Enter "PostgreSQL" as a new project name and click "OK".

  4. Click "+" -> "Data Source" -> "PostGreSQL".

  5. Enter "postgres" for the "User" field and click "OK".


4. Clone & Install UpGrade

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


5. Backend Environment Setup

Go to the Upgrade backend package:

Edit .env and update:


6. Frontend Environment Setup

Edit:

This must match the backend’s Google client ID.


7. Start the Backend

Backend will now be live at:


8. Start the Frontend

Default frontend dev server runs on:


Setup Complete πŸŽ‰

You now have:

  • PostgreSQL running locally

  • UpGrade backend running on port 3030

  • UpGrade UI running on port 4200

Last updated