DEV Community

What is the best working Heroku App with the free tier?

Kohki Mametani on January 29, 2019

The title says it almost all, but let me give you some context. While I had no experience in web programming, I had a web app idea which I wanted t...
Collapse
 
rhymes profile image
rhymes • Edited

Dávid explained the Heroku part, I'll focus on the Django part

I'm still letting DEBUG = True while tutorials say I shouldn't.

You should definitely not run Django in debug mode if it's a production website, you're leaking info in case of errors and having a slower website.

My suggestion is to go through the Django production checklist and run manage.py check --deploy which catches most of them.

Collapse
 
davidszabo97 profile image
Dávid Szabó

Regarding the "takes a few seconds to reach the website", it happens because the free tier sleeps after 30mins of inactivity. You get 550 free dyno hours when you verify your credit card you get another 450 hours, a total of 1000 hours. If you don't mind using up all your hours, then you can ping your website every 20mins or something like that. So it never sleeps.