Skip to content

swisscom/cf-sample-app-ruby

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

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •