Firearms Licensing Application built using HOF (Home Office Forms) framework.
- Node.js - Tested against LTS
- NPM (installed with Node.js) - Works with versions 2 and 3
- Redis server running on the default port
$ cd firearms
$ yarn install
$ yarn run start:dev
Then visit: http://localhost:8080/ and add the pathname for the desired journey. e.g. http://localhost:8080/museums
First, make sure the env
variable in the config.js file is equal to 'ci'
.
With the server running in development mode run (yarn run start:acceptance
) to start the acceptance tests:
$ npm run test:acceptance
$ yarn test:unit