Mercurial > hg > nodescore
view nodescore @ 22:bb02a593b7d5
server side push of datetime to client
author | tzara <rc-web@kiben.net> |
---|---|
date | Wed, 11 Jul 2012 09:51:05 +0100 |
parents | aaf429469697 |
children | e1a02869da08 |
line wrap: on
line source
#!/bin/bash # calls phantomjs to make screenshots # of each anchor in PROJECT then calls # imagemagick to resize them for preview # panel. The size of the screenshot # is defined in rasterize.js # nodescore@kiben.net # nodescore.kiben.net SERVER='http://192.168.1.84:8889' BASEDIR='www/m' PROJECT='seta' THUMBPATH=$BASEDIR/$PROJECT/img/thumbs if [ ! -f $BASEDIR/$PROJECT/music.html ]; then echo create $BASEDIR/$PROJECT/music.html and add some music exit 0; fi node nodescore.js & sleep 2; sh ss2thumb.sh $PROJECT $SERVER;