Skip to content

A sample Sinatra application to deploy to Cloud Foundry which works out of the box.

License

Notifications You must be signed in to change notification settings

swisscom/cf-sample-app-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CF Sample App Ruby

A sample Sinatra application to deploy to Cloud Foundry which works out of the box.

Run locally

  1. Install Ruby
  2. Install Bundler (accomplish this by running gem install bundler)
  3. Run bundle install
  4. Run bundle exec ruby app.rb -p 3000
  5. Visit http://localhost:3000

Run in the cloud

  1. Install the cf CLI
  2. Run cf push my-ruby-app -m 64M --random-route
  3. Visit the given URL

About

A sample Sinatra application to deploy to Cloud Foundry which works out of the box.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published