Skip to content

Building and development

nodejs and npm are required for this build.

Clone and enter the reposity

Terminal window
git clone https://github.com/menix-os/website
cd website

Next, install depencies

Terminal window
npm install
Terminal window
npm run build

The files will be placed in the dist directory. These files can be served by a static file server.

Terminal window
npm run dev

Runs on http://localhost:4321 by default

CommandAction
npm installInstalls dependencies
npm run devStarts local dev server at localhost:4321
npm run buildBuild production site to ./dist/
npm run previewPreview build locally, before deploying
npm run formatFormats all files
npm run format:checkChecks if all files are formatted