Simple tricks about Heroku setup

Wrote at July 31, 2011 da Filippo Camillo

If you are attempting to deploy your code to heroku for the first time, you shouldn't be able because of this error:

 

git push heroku master

Permission denied (publickey).
fatal: The remote end hung up unexpectedly

 

So you have to create a publick key (for this take a look at the github documentation and its very good article http://help.github.com/mac-set-up-git/ ) and then add you key to heroku with this:

 

heroku keys:add ~/.ssh/id_rsa.pub

 

 

no comment yet

Add a comment