Prepare the App

Page last updated:

Page last updated:

In this step, you will prepare a simple application that can be deployed. Execute the following commands to clone the sample application:

$ git clone https://github.com/swisscom/cf-sample-app-ruby.git
$ cd cf-sample-app-ruby

You now have a functioning git repository that contains a simple Sinatra application as well as a Gemfile file, which is used by Ruby’s dependency manager bundler.

Note: In case you are stuck during the tutorial, you can always check out the final-result branch of the sample app repo to see what your code should look like.

I cloned the App source
View the source for this page in GitHub