Skip to main content

Local Development

This repo contains the Langwa documentation site built with Docusaurus.

Prerequisites

  • Node.js (LTS, 18+ recommended)
  • Package manager: npm or pnpm

Install dependencies

npm install

Start the dev server

npm run start

The site runs at http://localhost:3000 by default.

Sync backend assets (OpenAPI + ERD)

If you have the backend repo locally, you can sync the OpenAPI spec and ERD:

npm run sync:backend

By default, the script expects the backend at ../langwa-backend. To use a custom path:

npm run sync:backend -- /path/to/langwa-backend

Build a production bundle

npm run build

This generates the static site in build/.