-
Notifications
You must be signed in to change notification settings - Fork 155
Ubuntu Install
Nodar Nutsubidze edited this page Dec 27, 2015
·
7 revisions
How to install on a Ubuntu 15.10 x64 System
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 the npm packages mentioned in the README.md.
You can put all the packages as a one liner:
npm install express cookie-parser ....
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);
nodejs app.js