Skip to content

mzia/cf-hello-worlds

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 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 contstruct a route to make your application reachable at https://APPNAME.cf.18f.us. Route names must be unique across the platform.

    cf push <APPNAME>

About

Hello World apps for Cloud Foundry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 55.1%
  • JavaScript 22.0%
  • CSS 10.3%
  • HTML 6.4%
  • Clojure 3.8%
  • Python 1.3%
  • Go 1.1%