I'm still stuck, but here's what I know so far on Windows XP.

* Install heroku gem: gem install heroku
* Install cygwin: http://www.cygwin.com/
* When you get to the "Install Packages" step of the cygwin setup.exe you
will need to install
  * Developer Tools: git
  * Editors: vim (needed for git)
* Install putty:
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html you'll need:
putty.exe, pageant.exe, puttygen.exe (or just grab the zip file "A .ZIP file
containing all the binaries (except PuTTYtel), and also the help files")
* Using puttygen.exe generate an SSH-2 RSA key pair and save the public and
private keys. The heroku gem wants the public key saved in your <home
directory >/.ssh/id_rsa.pub
* For github, I need to started pageant.exe and add my private key (note:
I'm trying to use the same key pair for heroku and github).

If you haven't already added your project to your local git repository, in
your Rails project directory:

Create a .gitignore file with these 5 lines:

log/*.log
tmp/**/*
config/database.yml
doc/app
doc/api

Then run these commands (must be in cygwin window)

git init
touch tmp/.gitignore log/.gitignore vendor/.gitignore
git add .
git commit -aq -m "initial import"

Ok, now you've got a local git repository to push out to heroku.

* With cygwin, go to your Rails project directory, and run:

git push [EMAIL PROTECTED]:henrytest.git

This is where I get stuck, with the error:

FATAL ERROR: Disconnected: No supported authentication methods available
fatal: The remote end hung up unexpectedly

Any ideas?

Henry

On Fri, Apr 11, 2008 at 8:49 AM, Andrew Shindyapin <
[EMAIL PROTECTED]> wrote:

>
> Hey Henry,
>
> Unfortunately, I don't have the answer to your question, only a
> request: would you mind posting a tutorial of getting everything
> working smoothly on WinXP to be able to deploy to heroku with git?
>
> Thanks,
> Andrew
>
> On Apr 11, 1:58 am, "Henry Wagner" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm attempting to do my first deploy to heroku with git. I've got my
> code
> > commited to my local git repository. When I run:
> >
> > git push -v -f [EMAIL PROTECTED]:<my app>.git
> >
> > I get:
> >
> > Pushing to [EMAIL PROTECTED]:<my app>.git
> > FATAL ERROR: Disconnected: No supported authentication methods available
> > Fatal: The remote end hung up unexpectedly.
> >
> > I should mention, I'm doing this on Window XP, using putty to generate
> the
> > SSH RSA key. I've got the key in my ~/.ssh/id_rsa.pub file. I have been
> > successful in uploading code to github, but I'm still new to git. Any
> ideas?
> >
> > Henry
> >
>


-- 
Henry
http://www.henrywagner.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to