[Answered ]-Deploy a pre existing django git repo to heroku

2👍

There are standart Heroku commands to do this:

$ heroku auth:login
... output omitted ...
$ heroku create --stack cedar
... output omitted ...
$ git commit -a -m 'Mods to run on Heroku.'
$ git push heroku master

UPDATE:

Also if you are planning to use Heroku in future it could be useful frt you to check their official Documentation – Getting Started with Django on Heroku

0👍

This will delete your repo, but this what worked for me when I got that error.

rm -rf .git
git init 
git add .
git commit -m "First commit"
heroku create --stack cedar
git push heroku master

Leave a comment