add more instructions to README about gcloud
This commit is contained in:
parent
0bb8dfdcaf
commit
5e6a9a3b28
10
README.md
10
README.md
@ -5,13 +5,21 @@ to set custom import paths for your Go packages.
|
|||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
|
Install [gcloud](https://cloud.google.com/sdk/downloads) and install Go App Engine component:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ gcloud components install app-engine-go
|
||||||
|
```
|
||||||
|
|
||||||
|
Setup a [custom domain](https://cloud.google.com/appengine/docs/standard/python/using-custom-domains-and-ssl) for your app.
|
||||||
|
|
||||||
Get the application:
|
Get the application:
|
||||||
```
|
```
|
||||||
go get -u -d github.com/GoogleCloudPlatform/govanityurls
|
go get -u -d github.com/GoogleCloudPlatform/govanityurls
|
||||||
cd $(go env GOPATH)/github.com/GoogleCloudPlatform/govanityurls
|
cd $(go env GOPATH)/github.com/GoogleCloudPlatform/govanityurls
|
||||||
```
|
```
|
||||||
|
|
||||||
Edit `app.yaml` with your domain and git repo information.
|
Edit `app.yaml` with your custom domain and git repo information.
|
||||||
|
|
||||||
```
|
```
|
||||||
env_variables:
|
env_variables:
|
||||||
|
Loading…
Reference in New Issue
Block a user