Debian Codegraph @

samples/appengine/README.md

raw
1 # AppEngine Sample
2
3 This directory holds a simple "Hello world!" AppEngine app that uses
4 [server.Server](https://github.com/google/go-cloud/blob/master/server/server.go).
5
6 ## Prerequisites
7
8 You will need to install the following software to run this sample:
9
10 - [Go](https://golang.org/doc/install)
11 - [gcloud CLI](https://cloud.google.com/sdk/downloads)
12
13 ## Deploying
14
15 Run the following in this `samples/appengine` directory:
16
17 ```shell
18 # Build the binary.
19 go build
20 # Deploy it to AppEngine.
21 gcloud app deploy
22 # Open a browser to the app.
23 gcloud app browse
24 ```
25
26 Try browsing to the `/healthz/readiness` page that `server.Server` adds a
27 handler for.