hello-gcloud-appengine

command module
v0.0.0-...-5c20019 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2020 License: MIT Imports: 4 Imported by: 0

README

hello-gcloud-appengine

hello-gcloud-appengine is a demo that shows how to run a progressive web app created with the app package on Google Cloud App Engine.

Prerequisites

Build and deploy

Go to the hello-gcloud-appengine directory:

cd $GOPATH/src/github.com/maxence-charriere/go-app-demo/hello-gcloud-appengine

Make sure the hello directory is built:

cd ../hello && make build && cd -

Copy the hello wasm binary:

cp ../hello/app.wasm .

The current directory should look like the following:

# github.com/maxence-charriere/go-app/demo/hello-appengine
.
├── README.md
├── app.wasm
├── app.yaml
├── go.mod
├── go.sum
└── main.go

Deploy on Google Cloud App Engine:

gcloud app deploy . --project YOUR_PROJECT_ID

See the live demo.

Contribute

Help to develop the gp-app package by becoming a sponsor.
Become a sponsor.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL