Name: iis
Owner: NOMS Digital Studio
Description: Historical Prisoners Application UI
Created: 2017-01-19 07:48:53.0
Updated: 2017-08-14 08:52:28.0
Pushed: 2018-01-02 10:22:42.0
Size: 2138
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Install the dependencies required to run the service:
m install
Supply environment variables. The required environment variables are defined in server/config.js.
Start the server
m start
Or, for development, run inspections, tests, watch for changes and start the server:
lp dev
Visit localhost:3000
gulp lint
-> style checks using eslint
gulp test
-> runs all unit tests
(Note that tests run with authentication disabled and sending logs to file in iis-ui.log)
gulp clean
-> cleans previously generated files
gulp build
-> cleans and regenerates assets. This is also the default gulp task
Gulp tasks are defined in individual files under/gulp.
Coordinating tasks such as dev
, test
etc are defined in /gulp/tasks.js
There are two options for authentication:
Run the IIS Mock SSO (available in GitHub) - user is automatically logged in via mock SSO
Set the environment variables listed below to direct SSO requests to an instance of MoJ SSO
The following environment variables are used and values should be supplied for correct operation but have defaults.
The following environment variables are used and a value MUST be supplied in production.