honnuanand / simple-go-web-app

This is a simple demonstration web app written in Go (martini framework) that easily runs on Cloud Foundry.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

This is a simple demonstration web app written in Go (martini framework) that easily runs on Cloud Foundry.


Languages

Language:Go 99.4%Language:Shell 0.6%