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