Answer the question
In order to leave comments, you need to log in
How to upload an application to Heroku?
Hello everyone
I'm doing one project here, and there was a need to upload it to the hosting. Recommended by Heroku. I signed up and followed the instructions but when it came to , git push heroku master got a fatal error. Here is the log if anything -
I'm also friends with English and realized that there were problems with authorization and I had to try to enter heroku login again and enter my user data there. However, it didn't help me. Tell me what to do?
Answer the question
In order to leave comments, you need to log in
The text of the error says that to authorize via Git in Heroku, you need to use an API access token (key) instead of a password from your account. There's even a link there.
Follow the link and on the page that opens you will see the following remark, which explains everything.
You need to take a token for the API. To do this, go to the settings (tab Applications ). There you will find the Heroku CLI application (if it does not exist, then create it), and on the right there will be a pencil icon, click on it and a window will open on the right, where your token will be written. Copy it.
Then return to the command prompt and type heroku login
. Enter your email in the login field, and this token in the password field. Well, then just type git push heroku master
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question