Skip to content
Nodar Nutsubidze edited this page Dec 27, 2015 · 7 revisions

How to install on a Ubuntu 15.10 x64 System

Install Dependencies

sudo apt-get install git npm libkrb5-dev

NOTE: Link nodejs to node otherwise some npm packages might fail looking for node ln -s /usr/bin/nodejs /usr/bin/node

Install node dependencies

Install the npm packages mentioned in the README.md. You can put all the packages as a one liner: npm install express cookie-parser ....

Run app.js

NOTE: If you're running the latest version of npm it will fail to run app.js because mongojs no longer has a connect function. The temporary fix is to update app.js. I'll do a pull request for this soon until then here's the diff: -var db = require("mongojs").connect(databaseUrl, collections); +var mongojs = require('mongojs') +var db = mongojs(databaseUrl, collections);

Run it

nodejs app.js

Clone this wiki locally