Y
Y
yahabrovec2018-08-29 22:46:37
Python
yahabrovec, 2018-08-29 22:46:37

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 - 5b86f7a4edb4b760171978.png
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

2 answer(s)
A
Alexander, 2018-08-31
@yahabrovec

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.

K
klepiku, 2018-08-30
@klepiku

you need an ssh key
generated on the site
install you
type heroku ssh and watch the video for example
90% true in english
related topic
How to set ssh keys for heroku?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question