moosh3 / ruby-rails-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ruby-rails-sample

This is a simple Ruby app using the Rails framework.

Running Locally

Make sure you have Ruby, Bundler and the Heroku Toolbelt installed.

git clone git@github.com:heroku/ruby-rails-sample.git # or clone your own fork
cd ruby-rails-sample
bundle
bundle exec rake bootstrap
heroku local

Your app should now be running on localhost:5000.

Deploying to Heroku

heroku create
git push heroku master
heroku run rake db:migrate
heroku open

Alternatively, you can deploy your own copy of the app using the web-based flow:

Deploy to Heroku

Documentation

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

About


Languages

Language:Ruby 77.6%Language:HTML 16.6%Language:CSS 2.9%Language:JavaScript 2.2%Language:CoffeeScript 0.7%