README
Instructions :
Make sure nodejs is installed on the machine. (Instructions on http://nodejs.org/)
cd into this folder after unzipping this folder in the desired location and run "npm install" (sudo might be needed on linux machines)
Edit the configuration file ("configurations/configuration.js") to meet your needs.
Contents of configurations/configuration.js" below
{ "applicationPort" : 3000, // the port the web services will run on (please make sure the port selected is unused) "cookiesTimeout" : 300, // the cookies timeout in seconds (for more precision find out how long the session lasts) "nfaServerUrl" : "http://candnf01.ca.com", // the NFA server base path "nfaServerUserName" : "admin", // NFA credentials userName "nfaServerPassword" : "admin" // NFA credentials password }
There are 2 ways to start the server
- "node app.js" : This is the standard way of starting a node application
- "npm start" or "nodemon app.js" : This will automatically redeploy the server when a file change.