mirror of
https://github.com/swisscom/cf-default-app-ruby.git
synced 2026-12-04 14:08:41 +00:00
The default Ruby app that will be pushed in the Swisscom Application Cloud if no source code is provided | Read-only mirror of https://github.com/swisscom/cf-default-app-ruby — Swisscom. Issues & pull requests at the source.
- HTML 91.6%
- Ruby 8.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| public | ||
| views | ||
| .cfignore | ||
| .gitignore | ||
| app.rb | ||
| CODE_OF_CONDUCT.md | ||
| config.ru | ||
| CONTRIBUTING.md | ||
| Gemfile | ||
| Gemfile.lock | ||
| LICENSE | ||
| manifest.yml | ||
| README.md | ||
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
- Install Ruby
- Install Bundler with
gem install bundler - Run
bundle install - Run
bundle exec ruby app.rb -p 3000 - Visit http://localhost:3000
Run in the cloud
- Install the cf CLI
- Run
cf push --random-route - Visit the given URL
Create ZIP
- Run
zip -r ruby_app.zip public views app.rb config.ru Gemfile Gemfile.lock