/cf-hello-worlds

Hello World apps for Cloud Foundry

Primary LanguageRubyOtherNOASSERTION

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.