N
N
Nem0_o2015-03-12 19:53:39
Django
Nem0_o, 2015-03-12 19:53:39

How to deploy a site on heroku?

I can’t upload the site to Heroku, I didn’t quite understand what to enter in the Username for and Password for fields after the git push heroku master command :

C:\code2015>git push heroku master
Username for 'https://git.heroku.com': nemo
Password for 'https://[email protected]':
remote: !       WARNING:
remote: !       Do not authenticate with username and password using git.
remote: !       Run `heroku login` to update your credentials, then retry the gi
t command.
remote: !       See documentation for details: https://devcenter.heroku.com/arti
cles/http-git#authentication
fatal: Authentication failed for 'https://git.heroku.com/django-blog.git/'

The data is not from Git, I looked at the documentation, but still did not understand it.
C:\code2015>heroku login
Enter your Heroku credentials.
Email: [email protected]
Password (typing will be hidden):
Authentication successful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hardwellZero, 2015-03-12
@hardwellZero

Do heroku login first and then heroku create.
And you don't have to enter anything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question