aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bug_chomper/run_server.sh
blob: 5bedb4f9ae120f53df61e98585135671ffa17aef (plain)
1
2
3
4
5
6
7
8
9
10
11
if [[ -z `which go` ]]; then
  echo "Please install Go before running the server."
  exit 1
fi

go get github.com/gorilla/securecookie

DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd $DIR
GOPATH="$GOPATH:$DIR" go run $DIR/src/server/server.go $@