Tuesday, May 29, 2012

How to deploy code to heroku?


Following are the steps you should have to follow while creating a new app to deploy your codes to the heroku.
rails new checkonce
cd checkonce
git init
git add .
git commit -m"init"
heroku login
gem install heroku
heroku create
heroku create checkonce
heroku keys:add ~/.ssh/id_rsa.pub #if Permission denied (publickey)
git push heroku master

No comments:

Post a Comment