get started with node/express:
- install node.js - https://nodejs.org/en/
- on the command line write this-> npm install https://github.com/mapbox/node-sqlite3/tarball/master
- on the command line write this-> npm install --save [email protected]
- on the command line write this-> npm install --save socket.io
- on the command line write this-> npm install body-parser
- to run node.js use-> node index
- on a webtab it will be listeting at localhost:3000
UPDATE: For some reason, when I try to push up lenskit to the repository, it does not work, so I will update how to do it. #How to run modified Lenskit:
- Go to https://github.com/lenskit/lenskit and clone lenskit to a repository.
- I provided the files that I manipulated/created for our WebApp. First, enter the lenskit directory and update the gradle.build file to the one in this repository.
- Next, go lenskit-eval/src/main/java/org/lenskit/eval/traintest and inside traintest, you should see TraintestExperiment.java. Replace it with the one in this repository, and place the WebAppListener there too.
- Go to the Lenskit directory with the gradle.build file. (Should be in the first directory in lenskit)
- Run "gradlew install" to compile and install the modified lenskit to the local maven repository.
- After doing this, go back and enter the eval-quickstart directory.
- Run "gradle build" to run the eval-quickstart gradle.build file.
- Finally, run "gradlew evaluate". PS: If you run evaluate again after already running it to completion, you may have to run "gradle clean" first.