Mercurial > hg > nodescore
changeset 2:c92a73b81c80
installation instructions added
author | tzara <rc-web@kiben.net> |
---|---|
date | Wed, 04 Jul 2012 10:11:27 +0000 |
parents | 7798c5b91053 |
children | 28812ea7d941 |
files | INSTALL |
diffstat | 1 files changed, 51 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/INSTALL Wed Jul 04 10:11:27 2012 +0000 @@ -0,0 +1,51 @@ +////////////////////////////////// +// 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.6.7 + +./configure --openssl-libpath=/usr/lib/ssl +make +make test +make install +node -v + +////////////////////////////////// +// get nodescore dependencies +// the node_modules dir should life in the require.path +// ~/ + +npm install socket.io +npm install node-static +npm install xmlhttprequest +npm install jsdom +npm install jQuery + +////////////////////////////////// +// get nodescore + + +////////////////////////////////// +//start server + + +cd nodescore +node nodescore.js