https://github.com/cloudfoundry-community/simple-go-web-app
This is a simple demonstration web app written in Go (martini framework) that easily runs on Cloud Foundry.
https://github.com/cloudfoundry-community/simple-go-web-app
Last synced: 9 months ago
JSON representation
This is a simple demonstration web app written in Go (martini framework) that easily runs on Cloud Foundry.
- Host: GitHub
- URL: https://github.com/cloudfoundry-community/simple-go-web-app
- Owner: cloudfoundry-community
- Created: 2015-03-22T15:07:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T15:02:53.000Z (about 6 years ago)
- Last Synced: 2024-04-14T22:47:43.889Z (about 2 years ago)
- Language: Go
- Homepage:
- Size: 151 KB
- Stars: 14
- Watchers: 14
- Forks: 82
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple go web app
=================
This is a simple demonstration web app written in Go (martini framework) that easily runs on Cloud Foundry.
Locally
-------
```
go run main.go
```
Or to set the message:
```
MESSAGE="this is the message to display" go run main.go
```
Cloud Foundry
-------------
```
cf push myapp --no-start
cf set-env myapp MESSAGE "this is myapp"
cf start myapp
```