go-service

command
v0.0.0-...-01ba066 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

How to run a go-service example

  1. Install Bravetools and verify it is up and running:
brave info
  1. Build base unit based on Ubuntu Bionic:
$ brave base ubuntu/bionic
  1. Build go-service image. Run in go-service project root:
$ brave build

This command creates a go-service-1.0 image. Verify that image stored in the local image store:

$ brave images
  1. Deploy a unit:
5. brave deploy

Verify that unit go-service is up and running

$ brave units

Unit is a web service running on port 3000. Type http://[HOST_IP]:3000/bravetools in web browser. This should display a web page with a siple content.

URL http://[HOST_IP]:3000/bravetools shows Hi there, I love bravetools!

  1. Deleting unit:

Run in terminal:

$ brave remove go-service

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