perkeep/website/run.sh

14 lines
207 B
Bash
Raw Normal View History

2011-01-28 05:12:14 +00:00
#!/bin/bash
set -e
Bin=$(dirname $( readlink -f $0))
2011-01-29 20:31:35 +00:00
LOGDIR=$Bin/../logs
mkdir -p $LOGDIR
2011-01-28 05:12:14 +00:00
cd $Bin
echo "Running camweb in $Bin"
2011-01-29 20:31:35 +00:00
../build.pl website && ./camweb --http=:8080 --root=$Bin --logdir=$LOGDIR