NCC CRM project.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
draft
ng-ncc-app
.editorconfig
.gitignore
.jsbeautifyrc
LICENSE
README.md
api-notes.md
package-lock.json

README.md

Hackney Neighbourhood Contact Centre (NCC) CRM project.

Known Vulnerabilities

Making use of:

Angular app

The Angular app is currently stored in the ng-ncc-app subfolder.

cd ng-ncc-app
npm install (or yarn install)
ng serve

App version number

What's the current version number?

npm version

Update the current version number...

npm version major # increment the version major number
npm version minor # increment the version minor number
npm version patch # increment the version patch number

If building the app throws an error with a missing versioning.js file:

cd ng-ncc-app
node src/versioning.js

This creates a versioning.js file used by the app to obtain the current version number.

RUNNING the site(s) locally

Main site

cd ng-ncc-app
ng serve

Callback response app

cd ng-ncc-app
ng serve ng-ncc-callback

BUILDING site versions

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.

The main app

DEVELOPMENT test site

This is no longer used, but while available it might be useful for testing scenarios that require non-localhost URLs (e.g. payments via Paris).

ng build -c dev-test

Build folder: ng-ncc-app/dist/dev-test

Server folder: \\lbhwebintd01\c$\ng-ncc-app-dev-test

Single Sign On (SSO): http://lbhwebintd01:1010

View Only mode: http://lbhwebintd01:1010/default.aspx?viewonly

Front end: http://lbhwebintd01:2020

LIVE test site

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

PRODUCTION/LIVE site

ng build --prod

Build folder: ng-ncc-app/dist/ng-ncc-app

Folder: \\lbhwsappp01\c$\ng-ncc-app

Single Sign On (SSO): http://lbhwsappp01:3030

View Only mode: http://lbhwsappp01:3030/default.aspx?viewonly

Front end: http://secure.ncc.hackney.gov.uk:4040

The callback response app

NOTE: this also has a web.config file.

Test site

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]

Production

ng build ng-ncc-callback --prod

Build folder: ng-ncc-app/dist/ng-ncc-callback

Server folder: to be determined

Front end: to be determined