I am trying to deploy a Django app on to Heroku but when I type git push heroku master
, I get this output:
Counting objects: 1213, done.
Compressing objects: 100% (1184/1184), done.
Writing objects: 100% (1213/1213), 4.36 MiB | 504.00 KiB/s, done.
Total 1213 (delta 449), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote:
remote: ! Push rejected, no Cedar-supported app detected
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to article-django.
remote:
To https://git.heroku.com/article-django.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/article-django.git'
I created a requirements.txt
file, as advised in Heroku push rejected, no Cedar-supported app detected and I then typed in pip install -r requirements.txt
before typing in git push heroku master
again but I got the same output and so I need to know how to let Heroku know requirements.txt
exists so I don't get this same error again.