-
Notifications
You must be signed in to change notification settings - Fork 699
v0.1.2 Build Recipe (Ubuntu 11.04)
The following recipe was used to build a Log.io environment on a fresh Ubuntu 11.04 install, using node.js v0.4.9:
-
Install node.js dependencies
sudo apt-get install g++ sudo apt-get install make sudo apt-get install git sudo apt-get install libssl-dev
-
Download, compile node.js source
mkdir ~/downloads cd downloads wget "http://nodejs.org/dist/node-v0.4.9.tar.gz" tar -xzvf node-v0.4.9.tar.gz cd node-v0.4.9/ ./configure make sudo make install
-
Install NPM
curl http://npmjs.org/install.sh | sudo sh
-
Install node.js packages
sudo npm install -g [email protected] sudo npm install -g connect sudo npm install -g underscore
-
Manually install Socket.io-node-client, revert submodule
cd /usr/local/lib/node_modules/ sudo git clone git://github.com/msmathers/Socket.io-node-client.git cd Socket.io-node-client sudo git submodule update --init --recursive cd socket.io-node sudo git checkout 0.6.17
-
Get Log.io source
cd ~/downloads git clone git://github.com/NarrativeScience/Log.io.git log.io cd log.io/bin/
-
Install server and/or harvester
./configure sudo ./install/server sudo ./install/harvester
-
Launch harvester
sudo /etc/init.d/log.io-harvester start