Has anyone successfully deployed on heroku from a windows platform?

后端 未结 2 526
离开以前
离开以前 2021-01-19 04:51

I\'ve been reading all kinds of tutorials on how to deploy rails apps on heroku from windows.

I\'ve tried installing git, heroku gem, generating ssh keys and settin

相关标签:
2条回答
  • 2021-01-19 05:37

    Alternately, you may utilize puTTYgen.exe , and paste the OpenSSH public key into a mykey.pub file, and uploading that with heroku keys:add c:\mykey.pub

    0 讨论(0)
  • 2021-01-19 05:49

    After some setup problems -- indeed related to SSH keys -- I've successfully developed Rails/Sinatra applications on Windows and deployed those to Heroku. It works fine.

    Generating the keys was a challenge -- I didn't keep notes, but I think I generated the keys with the Git GUI in which you can create a OpenSSH key. That key file is stored in ~/.ssh (so within C:\Documents and Settings\<account>\.ssh) as id_rsa with an accompanying id_rsa.pub. Since I wanted a seperate key for use in Heroku, I've renamed both files of the key pair to id_heroku / id_heroku.pub.

    Finally, in the same folder, I've created a file config. That file contains

    Host heroku.com
    Hostname heroku.com
    Port 22
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_heroku
    TCPKeepAlive yes
    User user@example.com
    
    0 讨论(0)
提交回复
热议问题