码迷,mamicode.com
首页 > 其他好文 > 详细

Heroku installation

时间:2014-05-01 12:32:50      阅读:317      评论:0      收藏:0      [点我收藏+]

标签:tar   ext   get   art   type   line   window   com   load   user   app   

  It is the first time that I use heroku. But I encountered some problems installing it. Luckily, I resolved the problem.(In windows 8)

 

Step 1: Sign up for an account

 

Step2: Download the heroku toolbelt

 

Step3: Open your command line tool and type in "heroku login"

  Oops, errors pop up.

  Sorry, I forget the error messages :(

 

  But one thing can be sure: I could not login.

  So I began to wonder whether I had installed the heroku in a correct way...

      I typed "heroku help" in the command line and saw many options.

      Then I tried "heroku regions".

      It asked me to sign in. And I signed in successfully(But I could not sign in when I typed "heroku login")

      It asked me whether to generate a public key. choose yes of course.

      

      And I thought I had fixed the problem and typed "heroku login"

      Wow, I succeeded signing in!

 

Step4: git clone a project from remote server. (I used heroku not because I wanted to create a new app, but because I had to modify an existing app)

 

  Error happened again.

      It says that I have no permission to that app. (How is it possible!)

 

  Then, I tried "heroku keys:add" to upload the generated public key...

  But it is not done.

      Next, I copied the .ssh directory from C:/User/XXX/ to C:/Program files/Git/ 

 

  And Type the "git clone" again.

 

      Then it started to download...

 

I hope this may help some people.

Heroku installation,码迷,mamicode.com

Heroku installation

标签:tar   ext   get   art   type   line   window   com   load   user   app   

原文地址:http://www.cnblogs.com/Jade-Chan/p/3701471.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!