Newer
Older
Alessandro Ambrosano
committed
#!/bin/bash
Alessandro Ambrosano
committed
if [[ $# -ne 0 && $# -ne 2 ]]; then
echo "Usage: start_gzweb [gzsever_host gzserver_port]"
exit 1
fi
Alessandro Ambrosano
committed
ulimit -c unlimited
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
./stop_gzweb.sh
if [ ! -d http/client ]
then
echo "gzweb not initialized, have you run ./deploy.sh yet?"
exit
fi
./node_modules/.bin/http-server http/client &
cd gzbridge