perkeep/website/run.sh

13 lines
230 B
Bash
Raw Normal View History

2011-01-28 05:12:14 +00:00
#!/bin/bash
set -e
Bin=$(dirname $( readlink -f $0))
Port=8081
2011-01-28 05:12:14 +00:00
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 on port $Port"
../build.pl website && ./camweb --http=:$Port --root=$Bin --logdir=$LOGDIR