Skip to main content
The war.re monorepo contains two independent Next.js apps: main/ (served at war.re) and subdomains/ryan/ (served at ryan.war.re). You work on each app in isolation — there is no shared build or root-level yarn install. This guide walks you through cloning the repo, picking the app you want, and starting a development server.

Prerequisites

Before you begin, make sure you have the following tools installed:
  • Node.js — check with node --version
  • yarn — the package manager used by both apps; check with yarn --version
  • git — to clone the repository

Setup

1

Clone the repository

Clone the war.re monorepo from GitHub:
git clone https://github.com/rwwarren/war.re.git
cd war.re
2

Pick an app to work on

The monorepo contains two completely separate Next.js apps. Navigate into whichever one you want to work on:
# For the main war.re site
cd main

# — or —

# For the ryan.war.re resume
cd subdomains/ryan
Every command you run — yarn install, yarn dev, yarn build — must be executed from inside one of these app directories. There is no root-level install step.
3

Install dependencies

Install the app’s dependencies with yarn:
yarn install
Each app has its own package.json and yarn.lock, so dependencies are fully isolated between main/ and subdomains/ryan/.
4

Start the development server

Start the Next.js development server:
yarn dev
When the server is ready, you’ll see output similar to this:
▲ Next.js
  - Local:        http://localhost:3000
  - Environments: .env.local

 ✓ Starting...
 ✓ Ready in 1234ms
Open http://localhost:3000 in your browser to see the app. Both apps boot on port 3000 by default, so only run one dev server at a time unless you override the port with yarn dev -p 3001.
Both main/ and subdomains/ryan/ use the same set of yarn commands (yarn dev, yarn build, yarn lint, and so on), but they are completely independent projects. Changes in one app have no effect on the other, and each app maintains its own lock file.