cloudfoundry-samples/test-app

Name: test-app

Owner: Cloud Foundry Sample Applications

Description: Simple demo or test application for Cloud Foundry

Created: 2016-05-09 15:39:48.0

Updated: 2017-12-02 19:41:34.0

Pushed: 2017-04-21 17:49:00.0

Homepage: null

Size: 84

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Test App - a simple Go webapp

Pushing the app to Cloud Foundry
ush test-app
Endpoints
Configure the app to listen on multiple ports

By providing a customer start command, you can configure the app to listen on multiple ports. The app responds the same way to each port.

ush test-app -c "test-app --ports=7777,8888"
Pushing the app to CF as a Docker image

Simple App is also packaged as a docker image at cloudfoundry/test-app

ush my-test-app -o cloudfoundry/test-app
To rebuild the dockerimage:
ild.sh

Assumes you have the go toolchain (with the ability to cross-compile to different platforms) and docker installed and pointing at your docker daemon.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.