Local development

Work with the Netrun website on your own machine.

On this page

Requirements

Use Node.js 22 or newer and npm. This website uses Next.js App Router and TypeScript, with locally packaged IBM Plex fonts. It does not require a wallet, API key, database, or external service.

Run locally

  • Open a terminal in the project directory.
  • Run npm ci to install the dependencies from the lockfile.
  • Run npm run dev to start the development server.
  • Open http://localhost:3000 in your browser.

Check your changes

Run npm run typecheck to check TypeScript. Run npm run build to create a production build, then npm start to serve it locally.

Edit the content

Documentation text and navigation groups live in src/content/docs.ts. The other pages use src/content/pages.ts. External destinations are configured in src/config/site.ts; links remain disabled until an address is supplied.