Mercurial > hg > nodescore
annotate installer.sh @ 70:753414e075a0
danger stash pop
author | tzara <rc-web@kiben.net> |
---|---|
date | Sat, 26 Oct 2013 13:43:08 +0000 |
parents | 333afcfd3f3a |
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 |