Mercurial > hg > nodescore
view INSTALL @ 55:d93d75f982dd
added requirejs to INSTALL dependency list
author | tzara <rc-web@kiben.net> |
---|---|
date | Wed, 19 Dec 2012 13:37:42 +0000 |
parents | 8fc7155aa3ac |
children | 0ae87af84e2f |
line wrap: on
line source
////////////////////////////////// // NODESCORE SERVER INSTALLATION ////////////////////////////////// // installation for server running // debian stable or testing OS // other systems see here: // https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager ////////////////////////////////// ////////////////////////////////// // get nodejs dependencies apt-get update apt-get install git-core curl build-essential openssl libssl-dev ////////////////////////////////// // grab and compile from source mkdir -p /tmp/build/node && cd /tmp/build/node git clone https://github.com/joyent/node.git . git checkout v0.8.0 ./configure --openssl-libpath=/usr/lib/ssl make make test make install node -v ////////////////////////////////// // server side thumnail dependencies phantomjs imagemagick //aptitude install python-qt4 libqt4-webkit python-pip //aptitude install xvfb xbase-clients xfonts-base libgtk2.0-0 // get nodescore dependencies // the node_modules dir should life in the require.path // ~/ sudo npm install socket.io jsdom jQuery xmlhttprequest node-static requirejs sudo npm -g install supervisor ////////////////////////////////// // get nodescore git clone git://gitorious.org/nodescore/nodescore.git nodescore ////////////////////////////////// //start server cd nodescore node nodescore.js