Heroku - tlam/Wiki GitHub Wiki
Pre-requiresites
-
A heroku account
-
Heroku
gem install heroku
-
Your Rails app under git
Hosting a Rails 3 beta app with Ruby 1.9.1
-
Check the available heroku stacks:
$ heroku stack *aspen-mri-1.8.6 bamboo-ree-1.8.7 (beta) bamboo-mri-1.9.1 (beta)
-
Create your heroku app using the 1.9 stack:
heroku create yourapp --stack bamboo-mri-1.9.1
-
Push your source code to heroku:
git push heroku master
-
Migrate your db:
heroku rake db:migrate
After renaming your heroku app from the web
git remote rm heroku
git remote add heroku [email protected]:yourapp.git
Re-connect a github repo to a heroku app
git remote add heroku [email protected]:project.git
Add new keys
heroku keys:add