annotate installer.sh @ 96:b418e7a06f36

random grid disribution of svg
author Rob Canning <rob@foo.net>
date Fri, 01 Aug 2014 13:43:16 +0100
parents a1eacfae4fcf
children
rev   line source
root@51 1 #!/bin/sh
rc-web@71 2
rc-web@71 3 #sudo dpkg-reconfigure dash
rc-web@71 4 # use bash instead of dash on ubuntu systems
rc-web@71 5
rc-web@71 6 #sudo apt-get install phantomjs supervisor
rc-web@71 7 #npm install sockets.io node-static requirejs
rc-web@71 8
root@51 9 mkdir -p /usr/local/bin
root@51 10 cp -pa nodescore /usr/local/bin/
root@51 11
root@51 12 mkdir /usr/share/nodescore
root@51 13 cp -pa www *.js /usr/share/nodescore/
rc-web@58 14 chown -R rob:www-data /usr/share/nodescore/
root@51 15 cp -pa nodescored /etc/init.d/
root@51 16 chmod 755 /etc/init.d/nodescored
root@51 17 update-rc.d nodescored defaults