Skip to content

Simple python-based demo or test application for Cloud Foundry, based of the ideas in https://github.com/cloudfoundry-samples/test-app

License

Notifications You must be signed in to change notification settings

dotnext/cf-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cf-sample-app

Simple python-based demo or test application for Cloud Foundry, based of the ideas in https://github.com/cloudfoundry-samples/test-app

Instructions

To push to CF, simply execute cf push test-app-python

#Endpoints

Like the go-based test-app, the following endpoints are supported:

  • /: Display a title, index number for the app, and uptime for the running instance.
  • /env: Display a nicely formatted output of the environment variables
  • /port: Return the port number the application is listening on
  • /exit: Displays a warning message and then forcibly exits the server, (hopefully) causing CF to restart the instance

#Screenshots

/: index

/env env

About

Simple python-based demo or test application for Cloud Foundry, based of the ideas in https://github.com/cloudfoundry-samples/test-app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published