Sunday, January 2, 2011

Deploying Rails applications on Heroku

Installation:

# gem install heroku

# heroku keys:add

# heroku help

Setup SSH Key:
Please follow the link  Generating SSH key on Linux
Please follow the link Generating SSH key on windows

Create application on heroku

# heroku create [name of the app]

# cd [Path to my app]
# git init
# git add .
# git commit -m "[New app name]"

# git push heroku master
# heroku rake db:migrate

No comments:

Post a Comment