Skip to content

Installation instructructions

svencharleer edited this page Nov 23, 2015 · 2 revisions

Installation Instructions

  1. Copy files to a folder on your server
  2. Install Node.js
  3. Open app.js (https://github.com/weSPOT/wespot_learningdashboard/blob/master/app.js) and change 3015 to the port you wish to run the applicationon: app.set('port', process.env.PORT || 3015);
  4. Open dbConnection.js (https://github.com/weSPOT/wespot_learningdashboard/blob/master/dbConnection.js) and point to your MongoDB through the variables mongoserver and mongoserver2.
  5. Open inquiry.js (https://github.com/weSPOT/wespot_learningdashboard/blob/master/routes/inquiry.js) and change "var DEV_OR_PROD_WESPOT" to point to your weSPOT Inquiry Environment.
  6. In this file, also verify the RESTful.doGET call at line 33: the first parameter must point to your datastore URL. Make sure this is set correctly. The last parameter is the required API key.
  7. Run "node app.js" to run application.

(Do note that the weSPOT Inquiry System will generate the URLs to access the dashboard automatically)

Clone this wiki locally