Installation
-
Install the latest stable version of node.js
cd node
./configure
make install
-
Locally install the necessary node modules
npm install node-fs express@2.5.9 async underscore faye xml2js mysql@0.9.6 socket.io@0.9.16 socket.io-client@0.9.16 hat browserchannel coffee-script@1.2.0 connect@1.8.6
-
Copy the modified stache module to the node/node_modules directory
-
Checkout dashboardjs code in the node directory
git clone git://github.com/ASCOT/dashboardjs.git
-
Checkout ShareJS code in the node directory
git clone git://github.com/ASCOT/ShareJS.git
-
Run the node server
cd dashboardjs
sudo node server.js
-
Test the server. Visit in your browser:
http://localhost/