bysu

command module
v0.0.0-...-7205b9d Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2019 License: MIT Imports: 7 Imported by: 0

README

Go web application

Language Framework Platform
Go NA ServiceStage Web App, CCE Cluster

This sample code helps get you started with a simple Go web application deployed by ServiceStage WebApp to a CCE Cluster.

This sample includes:

  • README.md
  • License.md
  • Dockerfile - config file for building docker image
  • main.go - main source file including the main entrypoint
  • static - this directory contains static web page files

Getting Started

Clone your code repository and start developing your application on IDE of your choice

  1. Install Go SDK and set GOROOT and GOPATH environment. See https://golang.org/doc/install for details.

  2. Change to source file directory and build the application.

     $ go build -o main
    
  3. Run executable binary file 'main' to start HTTP server.

     $ ./main &
    
  4. Open http://{Server-IP}:8080/ in a web browser to view your application.

if you want to deploy the sample code on servicestage, View your CI/CD pipeline and service stack on ServiceStage and customize it as per your needs

License:

See LICENSE.

Contributing

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