blob: 1a49031f8ef75e43b6bb8fd88cdc3fa33cdc6842 [file] [log] [blame]
commit-bot@chromium.org51324612014-05-13 18:03:45 +00001if [[ -z `which go` ]]; then
2 echo "Please install Go before running the server."
3 exit 1
4fi
5
6go get github.com/gorilla/securecookie
7
8DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
9cd $DIR
commit-bot@chromium.org44d42102014-05-13 19:18:55 +000010
11if [[ ! -f oauth_client_secret.json ]]; then
12 gsutil cp gs://chromium-skia-gm/bugchomper/oauth_client_secret.json .
13fi
14
commit-bot@chromium.org51324612014-05-13 18:03:45 +000015GOPATH="$GOPATH:$DIR" go run $DIR/src/server/server.go $@
16