This document explains how to set up the LNMB website locally on Linux and Windows. It covers cloning, dependencies, environment variables, and running the development server.
- Git
- Node.js (recommended via nvm on Linux / Node installer on Windows)
- pnpm (preferred package manager)
git clone git@github.com:wechulisimiyu/lnmb.git
cd lnmbIf you don't have SSH set up, use the HTTPS URL but SSH is preferred for pushing and making PRs. I would rather you do SSH haha.
I set up with Node v22. Install Node via nvm so you can manage multiple versions.
- Install or update Node.js (recommended via nvm):
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install 22
nvm use 22- Install pnpm (choose one):
Option A: via npm
npm install -g pnpmOption B: via pnpm standalone installer
curl -fsSL https://get.pnpm.io/install.sh | sh -- Verify installation:
node -v
pnpm -v-
Install Node.js from https://nodejs.org/en/ (choose the v22 installer if available).
-
Install pnpm globally:
npm install -g pnpm- Verify
node -v
pnpm -vWe use pnpm for dependency management:
pnpm installIf the project requires environment variables (for Convex or external services), copy the provided sample and create a local file:
cp env.sample .env.localThen open .env.local and fill in values. Example Convex variables you may need (see env.sample):
# CONVEX_DEPLOYMENT=
# NEXT_PUBLIC_CONVEX_URL=pnpm devOpen http://localhost:3000 in your browser.
- If you only want to make frontend changes without backend dependencies, ensure any server calls are mocked or the backend connectors (Convex) are disabled or configured to point to a test instance.
- If you see TypeScript or lint errors, run the type checks or linter directly:
pnpm build
pnpm lint-
Original project README (legacy Node/Express/Mongo implementation):
https://github.com/wechulisimiyu/leave-no-medic-behind/blob/dev/README.md (legacy project)
- Fork the repository
- Create a branch for your change
- Make changes and commit
- Push and open a PR describing the change
Thanks for helping LNMB — leave no medic behind.