Making use of:
- Angular 6 (via Angular CLI)
- GOV.UK Frontend.
The Angular app is currently stored in the ng-ncc-app
subfolder.
cd ng-ncc-app
npm install (or yarn install)
ng serve
npm version
npm version major # increment the version major number
npm version minor # increment the version minor number
npm version patch # increment the version patch number
cd ng-ncc-app
node src/versioning.js
This creates a versioning.js
file used by the app to obtain the current version number.
cd ng-ncc-app
ng serve
cd ng-ncc-app
ng serve ng-ncc-callback
When copying files over to the host folders, be careful not to remove the web.config
file Everything else should be safe to delete or replace.
ng build -c live-test
Build folder: ng-ncc-app/dist/live-test
Server folder: \\lbhwebintd01\c$\ng-ncc-app-live-test
Single Sign On (SSO): http://lbhwebintd01:3030
View Only mode: http://lbhwebintd01:3030/default.aspx?viewonly
Front end: http://lbhwebintd01:4040
ng build --prod
Build folder: ng-ncc-app/dist/ng-ncc-app
Folder: \\lbhwsappp01\c$\ng-ncc-app
Single Sign On (SSO): http://ncc.hackney.gov.uk:3030/
View Only mode: http://lbhwsappp01:3030/default.aspx?viewonly
Front end: http://secure.ncc.hackney.gov.uk:4040
NOTE: this also has a web.config
file.
ng build ng-ncc-callback -c live-test
(this will use live-test settings.)
Build folder: ng-ncc-app/dist/live-test/callback
Server folder: \lbhwebintd01\c$\ng-ncc-callback
Front end: http://lbhwebintd01:6060/[callback id]/[email address]
ng build ng-ncc-callback --prod
Build folder: ng-ncc-app/dist/ng-ncc-callback
Server folder: \lbhdmzwebp03\c$\ng-ncc-callback_test
Front end: https://ncccallback.hackney.gov.uk/[callback id]/[email address]