https://github.com/swisscom/cf-sample-app-go
A sample Go application to deploy to Cloud Foundry which works out of the box.
https://github.com/swisscom/cf-sample-app-go
Last synced: about 1 year ago
JSON representation
A sample Go application to deploy to Cloud Foundry which works out of the box.
- Host: GitHub
- URL: https://github.com/swisscom/cf-sample-app-go
- Owner: swisscom
- License: other
- Created: 2016-04-22T12:49:12.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T15:16:08.000Z (over 1 year ago)
- Last Synced: 2025-04-15T10:19:57.218Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 1.93 MB
- Stars: 1
- Watchers: 36
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CF Sample App Go
A sample [Go](https://golang.org/) application to deploy to Cloud Foundry which works out of the box.
## Run locally
1. Install [Go](https://golang.org/doc/install)
1. Run `go run main.go`
1. Visit
## Run in the cloud
1. Run `cf push my-go-app -m 128M --random-route`
1. Visit the given URL