0

Django Heroku deployment

I have a small app in Django, locally running fine. However I was not able to deploy and make it run in Heroku. I spent few days browsing tons of tutorials but couldn't set it up properly. At this point my app crashes with H10 error. Has anyone recently deployed Django app to Heroku and can recommend me an up-to-date tutorial? Thank you.

6th Jun 2020, 5:57 AM
honzza dvorak
honzza dvorak - avatar
3 Respostas
0
That's an app crash error. Try to get the django startproject initial app running on heroku. Once that's setup you can move your actual code over piece by piece until it either works or you find the part that's crashing.
6th Jun 2020, 7:06 AM
JME
0
That was what I tried but also failed. Maybe I will give it another try. Other option that I have thought of is refactoring Heroku's Gettingstarted project. This is the only app that I succeeded deploying.
6th Jun 2020, 7:22 AM
honzza dvorak
honzza dvorak - avatar
0
Made it work finally! I reshuffled the original Django directory and file structure to match the structure of the Gettingstarted project. Now works like a charm 🙄
6th Jun 2020, 3:03 PM
honzza dvorak
honzza dvorak - avatar