serve

command module
v0.0.0-...-4ea0b05 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

The teoproxy fortune-gui example web serve package.

How to build this web application server:

# Install fyne executible (if not installed)
go install fyne.io/fyne/v2/cmd/fyne@latest

# Go to serve folder inside fortune-gui folder
cd cmd/websocket/fortune-gui/serve

# Build web package
fyne package -os wasm --appVersion=0.0.3 --sourceDir ../

(or you can use go generate command to build and run this web server)

How to run this web application server:

After build the web server you can start it with next command:

# Run web server (in development mode)
go run .

# Run web server (in production mode)
go run -tags=prod .

How to build executible of this web application server:

# Build executible
go build -tags=prod .

Jump to

Keyboard shortcuts

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