Skip to content

aseTo2016/bysu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Auto created by ServiceStage!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published