comparison nodescore @ 50:f35019025c9d

added 100ms .00 to chronq
author root <root@beaglebone.(none)>
date Sat, 13 Oct 2012 09:05:25 +0000
parents
children a0ae699ac444
comparison
equal deleted inserted replaced
49:ddb09f0a67fd 50:f35019025c9d
1 #!/bin/bash
2
3 # calls phantomjs to make screenshots
4 # of each anchor in PROJECT then calls
5 # imagemagick to resize them for preview
6 # panel. The size of the screenshot
7 # is defined in rasterize.js
8
9 # nodescore@kiben.net
10 # nodescore.kiben.net
11
12 if [ "$1" = "home" ]
13 then
14 SERVER='192.168.1.77:8889'
15 else
16 SERVER='http://nodescore.kiben.net:8889'
17 fi
18
19 BASEDIR='www/m'
20 PROJECT='seta'
21 THUMBPATH=$BASEDIR/thumbs
22
23 if [ ! -f $BASEDIR/music.html ];
24 then echo create $BASEDIR/music.html and add some music
25 exit 0;
26 fi
27
28 killall node;
29 supervisor nodescore.js &
30 sleep 2;
31 sh ss2thumb.sh $PROJECT $SERVER;