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.