Mercurial > hg > nodescore
annotate installer.sh @ 69:333afcfd3f3a
added node_modules to project and fixed path to chronometer
also added deps to installer script
author | tzara <rc-web@kiben.net> |
---|---|
date | Sat, 26 Oct 2013 14:12:50 +0100 |
parents | 474c1ad1e811 |
children | a1eacfae4fcf |
rev | line source |
---|---|
root@51 | 1 #!/bin/sh |
rc-web@69 | 2 npm install sockets.io node-static requirejs |
root@51 | 3 mkdir -p /usr/local/bin |
root@51 | 4 cp -pa nodescore /usr/local/bin/ |
root@51 | 5 |
root@51 | 6 mkdir /usr/share/nodescore |
root@51 | 7 cp -pa www *.js /usr/share/nodescore/ |
rc-web@58 | 8 chown -R rob:www-data /usr/share/nodescore/ |
root@51 | 9 cp -pa nodescored /etc/init.d/ |
root@51 | 10 chmod 755 /etc/init.d/nodescored |
root@51 | 11 update-rc.d nodescored defaults |