The default Go app that will be pushed into the Swisscom Application Cloud if no source code is provided.
- Install Go
- Run
go run main.go
- Visit http://localhost:8080
- Install the cf CLI
- Run
cf push --random-route
- Visit the given URL
- Run
zip -r go_app.zip public templates glide.lock glide.yaml main.go
- Install Go
- Change texts in
templates/index.html
- Run
GOOS=linux GOARCH=amd64 go build
- Run
zip -r binary_app.zip public templates cf-default-app-go Procfile