-
Notifications
You must be signed in to change notification settings - Fork 0
Installation instructructions
svencharleer edited this page Nov 23, 2015
·
2 revisions
- Copy files to a folder on your server
- Install Node.js
- 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);
- Open dbConnection.js (https://github.com/weSPOT/wespot_learningdashboard/blob/master/dbConnection.js) and point to your MongoDB through the variables mongoserver and mongoserver2.
- 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.
- 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.
- Run "node app.js" to run application.
(Do note that the weSPOT Inquiry System will generate the URLs to access the dashboard automatically)