Mercurial > hg > nodescore
view nodescore @ 42:49c94f63b8b0
css for nexus 7 and associated files- archive m.a added - remove later
author | tzara <rc-web@kiben.net> |
---|---|
date | Tue, 04 Sep 2012 07:25:49 +0000 |
parents | 3ba24da53406 |
children |
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 if [ "$1" = "home" ] then SERVER='192.168.1.77:8889' else SERVER='http://nodescore.kiben.net:8889' fi BASEDIR='www/m' PROJECT='seta' THUMBPATH=$BASEDIR/thumbs if [ ! -f $BASEDIR/music.html ]; then echo create $BASEDIR/music.html and add some music exit 0; fi killall node; supervisor nodescore.js & sleep 2; sh ss2thumb.sh $PROJECT $SERVER;