How to add a developer to my / join a Heroku app

In heroku, Login to the admin page and in the application add the email of the developer that you want to give access to.

Once the developer has registered and activation his heroku account he can do the following.

not as root:

ssh-keygen

type in a passphrase that you can remember, as you have to type it in twice when you generate.

If you (the developer) had heroku setup correctly then do this.

heroku list

This will ask the developer for his credentials, which are the email account he registered with and password, this is where it will upload the public key to the server (hence that computer can talk to heroku)

The then successful “heroku list” command will display the applications that developer has access to.

To “download” the file do the following:

git clone git@heroku.com:your-application.git

Now you should have your own local repository of that application available.

go into the app folder and make an new file with your favourite editor and save the file with some test text inside of it.

do the following

git add filename
git commit -m "added a file"

git should then ask you again for your ssh key passphrase which you should have remembered.

now in the main folder of you heroku application you should be able to test the application.

script/server

You can then tweak the project to no end, and even saving changes to your local repository using git add . and git commit.

when all your changes run without a glitch you can do the following.

git push heroku master

If this didn’t work, check to see if heroku is in the list of remote servers for the repo

git remote -v

instead of heroku try origin.

git push origin master

you can then test the live site at yourapplication.heroku.com

Hope you have enjoyed this, if you need help in creating a new app as opposed to joining one I can create a guide, but editing a project from another computer was the main issue I was having myself as there are many guide on just getting heroku up and running.

This entry was posted in Uncategorized by admin. Bookmark the permalink.

Comments are closed.