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