0.0.2 • Published 12 years ago

wsexample v0.0.2

Weekly downloads
6
License
-
Repository
-
Last release
12 years ago

Instructions :

  1. Make sure nodejs is installed on the machine. (Instructions on http://nodejs.org/)

  2. cd into this folder after unzipping this folder in the desired location and run "npm install" (sudo might be needed on linux machines)

  3. 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 }

  4. 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.