Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 715 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 715 Bytes

Lattice-App - a simple Go webapp for playing with Lattice

Lattice-App is packaged as a docker image at cloudfoundry/lattice-app

To push to Lattice using ltc:

ltc create lattice-app cloudfoundry/lattice-app

Endpoints

/: a simple landing page displaying the index and uptime
/env: displays environment variables
/exit: instructs Lattice to exit with status code 1

To rebuild the dockerimage:

./build.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.