Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 720 Bytes

developing.md

File metadata and controls

40 lines (29 loc) · 720 Bytes

Developing

Clone GitHub repo

mkdir -p $GOPATH/src/github.com/serverless
cd $GOPATH/src/github.com/serverless
git clone git@github.com:serverless/event-gateway.git
cd event-gateway

Install dep package manager

On macOS you can install or upgrade to the latest released version with Homebrew:

$ brew install dep
$ brew upgrade dep

Or you can install via go get:

go get -u github.com/golang/dep/cmd/dep

Install dependencies

go get -u github.com/hashicorp/go-plugin
go get -u github.com/hashicorp/go-hclog
go get -u golang.org/x/net/{context,http2,trace}
dep ensure

Run locally

go run cmd/event-gateway/main.go -dev