1. 웹서버의 소스 코드가 자신 소유의 Windows PC에 있는 경우


준비물

1) Git

2) Go

3) MSYS2

4) Google Cloud SDK


참고


상기한 준비물 넷을 설치한 뒤, "Google Cloud SDK Shell" 내에서 순서대로 실행합니다.

> go get -v google.golang.org/appengine

> git clone https://github.com/GoogleCloudPlatform/golang-samples

> cd golang-samples/appengine/helloworld

> cat hello.go

> cat app.yaml

> dev_appserver.py app.yaml

> gcloud app create

> gcloud app deploy


2. 웹서버의 소스 코드가 클라우드(Cloud Shell)에 있는 경우


"Cloud Shell" 내에서 순서대로 실행합니다.

$ git clone https://github.com/GoogleCloudPlatform/golang-samples

$ cd golang-samples/appengine/helloworld

$ cat hello.go

$ cat app.yaml

$ dev_appserver.py app.yaml

$ gcloud app create

$ gcloud app deploy


(본문의 끝입니다.)



Top