Skip to content

ertzeid/cf-hello-worlds

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World apps for Cloud Foundry

This repository contains minimal "hello world" applications for a handful of different languages/frameworks for testing deployment to Cloud Foundry ("CF"), though they may be useful for other things. Think of it like TodoMVC, but server-side.

Usage

  1. Follow the general CF command-line (CLI) setup instructions.

  2. Download/clone this repository.

  3. cd into the subdirectory for whatever language/framework you feel most comfortable with.

  4. Target your space in the sandbox.

    cf target -o sandbox -s <USER>

    Where is the user portion (firstname.lastname) of your email address.

  5. Deploy the application, where APPNAME should be something unique like FRAMEWORK-YOURNAME (e.g. nodejs-aidan). By default, APPNAME is used to construct a route to make your application reachable at https://APPNAME.apps.cloud.gov/. Route names must be unique across the platform.

    cf push <APPNAME>

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.

All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.

About

Hello World apps for Cloud Foundry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 55.0%
  • JavaScript 22.1%
  • CSS 10.3%
  • HTML 6.4%
  • Clojure 3.8%
  • Python 1.3%
  • Go 1.1%