You can view the MOT component library and prototypes here:
If you'd like to access the Prototypes pages, log in as below. The prototype system is password protected to prevent users accidentally accessing what may look like a real Government Service.
Clone this repo and cd into the directory using terminal
Install dependencies using NPM
To run development mode run the following command inside the directory.
npm run start-dev
You can access the local server with the following url
It will automatically run the following processess concurrently
- gulp start-dev task
- webpack with development configurations
- express application with nodemon
Build production command will generate production ready assets and node js server code.
The productions assets are located in the dist/assets folder and the server code is located in the dist/server folder.
npm run build-production
Run this command and commit changes before pushing to heroku.
Docker setup for development
You will need the latest version of docker installed
Running development mode
For faster development you can use docker by running the following command:
After which the server is located at the local address below:
Building production assets
Run the following command
docker-compose run --rm app npm run build-production