view nodescore @ 27:a3387450c585

added new thumbs stucture
author tzara <rc-web@kiben.net>
date Mon, 16 Jul 2012 16:54:48 +0100
parents ac9641ecf84f
children ea19684cd1db 0123b4602f8e
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.94:8889'
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;
node nodescore.js &
sleep 2;
sh ss2thumb.sh $PROJECT $SERVER;