Files
dokku/tests/apps/ruby
Jose Diaz-Gonzalez 86795ddacc tests: run mvdan/shfmt on test runs
While I do not agree with _every_ style change, this will force Dokku to have consistent formatting across all shell scripts, which is arguably a Good Thing™.

The command used to reprocess everything is:

```shell
shfmt -l -bn -ci -i 2 -w .
```
2019-01-07 01:25:55 -05:00
..

ruby-sample

This is a barebones Ruby app using the Sinatra framework.

Running Locally

Asumming you have Ruby, Bundler and Heroku Toolbelt installed on your machine:

git clone git@github.com:heroku/ruby-sample.git # or clone your own fork
cd ruby-sample
bundle
foreman start

Your app should now be running on localhost:5000.

Deploying to Heroku

heroku create
git push heroku master
heroku open

Documentation

For more information about using Ruby on Heroku, see these Dev Center articles: