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.
-
Follow the general CF command-line (CLI) setup instructions.
-
Download/clone this repository.
-
cd
into the subdirectory for whatever language/framework you feel most comfortable with. -
Target your space in the
sandbox
.cf target -o sandbox -s <USER>
Where is the user portion (firstname.lastname) of your email address.
-
Deploy the application, where
APPNAME
should be something unique likeFRAMEWORK-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>