hello-local

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: 3 Imported by: 0

README

hello-local

hello-local is a demo that shows how to run a progressive web app created with the go-app package on your local machine.

TLDR

cd $GOPATH/src/github.com/maxence-charriere/go-app-demo/hello-local
make run

Build and run

Go to the hello-local directory:

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

Make sure the hello directory is built:

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

Copy the hello wasm binary:

cp ../hello/app.wasm .

Build the server:

go build

The current directory should look like the following:

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

Run the server:

./hello-local

Contribute

Help to develop the go-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