Skip to content

defencedigital/moduk-service-toolkit

Repository files navigation

Netlify Status

Defence Service Toolkit

All you need to design, build and run great digital services in Defence.

Install the long-term support (LTS) version of Node.js, which includes npm.

Run app for development

1. Clone repo

git clone https://github.com/defencedigital/moduk-service-toolkit.git moduk-service-toolkit

2. Navigate to project folder

cd moduk-service-toolkit

3. Install npm packages

npm install

4. Run app

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

Build app for production

Render CSS, JS, Images, Nunjucks. Compress files and generates HTML pages, ready for production. It also performs a W3C validation on HTML, to ensure everything is valid.

npm run prod