Helping you meet service standards and do your role in Defence.
Install the long-term support (LTS) version of Node.js, which includes npm.
git clone https://github.com/defencedigital/moduk-service-manual.git moduk-service-manual
cd moduk-service-manual
npm install
Watch for changes to CSS, JS, Images, Nunjucks or Markdown. Automatically update the browser, without the need for a manual refresh.
npm run dev
Visit: http://localhost:8080
Performs a W3C validation on HTML, to ensure everything is valid.
npm run test
Render CSS, JS, Images, Nunjucks. Compress files and generates HTML pages, ready for production.
npm run prod