godep save
Example app vendored using - The use of
godep save
(without the-r
option) does not rewrite import paths. - Application can only be built using the
godep build
and notgo build
.
To build this app:
$ mkdir godepsave
$ cd godepsave/
$ export GOPATH=`pwd`
$ export GOBIN=$GOPATH/bin
$ go get github.com/kr/godep
$ go install github.com/kr/godep
$ go get github.com/jbuberel/example_godep_save
$ cd src/github.com/jbuberel/example_godep_save/godepserver/
$ godep go build
Google App Engine:
To deploy this app to- Install the Google Cloud SDK.
- Create a project in the Google Cloud Console.
gcloud auth login
gcloud config set project <your-project-name>
$ cd godepserver
$ gcloud --quiet preview app deploy --version myapp ./app.yaml --remote
$ curl myapp.<your-project-name>.appspot.com