Skip to content

About

The default Go app that will be pushed in the Swisscom Application Cloud if no source code is provided

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

32 watching

Forks

Repository files navigation

CF Default App Go

The default Go app that will be pushed into the Swisscom Application Cloud if no source code is provided.

Run locally

  1. Install Go
  2. Run go run main.go
  3. Visit http://localhost:8080

Run in the cloud

  1. Install the cf CLI
  2. Run cf push --random-route
  3. Visit the given URL

Create ZIP for Go buildpack

  1. Run zip -r go_app.zip public templates glide.lock glide.yaml main.go

Create ZIP for Binary buildpack

  1. Install Go
  2. Change texts in templates/index.html
  3. Run GOOS=linux GOARCH=amd64 go build
  4. Run zip -r binary_app.zip public templates cf-default-app-go Procfile

About

The default Go app that will be pushed in the Swisscom Application Cloud if no source code is provided

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

32 watching

Forks

Releases

Packages

Used by

Contributors

Languages