Skip to content

swisscom/cf-default-app-ruby

Repository files navigation

CF Default App Ruby

The default Ruby app that will be pushed in the Swisscom Application Cloud if no source code is provided.

Based on Sinatra

Run locally

  1. Install Ruby
  2. Install Bundler with 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 --random-route
  3. Visit the given URL

Create ZIP

  1. Run zip -r ruby_app.zip public views app.rb config.ru Gemfile Gemfile.lock

About

The default Ruby app that will be pushed in the Swisscom Application Cloud if no source code is provided

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors