mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
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 . ```
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: