Installation
From clone to running dev server
Prerequisites
- Node.js 22 or newer (npm included)
- Git
Set up
- Fork this repository into the account or organization that will own the site
- Clone that fork
- Set the site's real
name,url, anddescriptioninsrc/_data/site.json - Run
npm installto install dependencies - Run
npm run serveto start the development server athttp://localhost:8080
The dev server rebuilds and reloads as you edit. When you want a
production build, npm run build writes the whole site to _site/
and checks every internal link on the way out.
Useful commands
| Command | What it does |
|---|---|
npm run serve |
Dev server with hot reload |
npm run build |
Production build to _site/ |
npm test |
Full suite: lint, typecheck, build, tests, coverage |
npm run lint:fix |
Auto-format the codebase |