How to Deploy a Django App to Heroku The Right Way

Опубликовано: 06 Ноябрь 2024
на канале: Whilelab
60
4

In this video, you will learn how to deploy a Django app to Heroku, I tried to cover all the edge cases, and errors you may face and address their solutions, Enjoy!


The code to put in the Procfile (Make sure to replace yourprojectname):
web: gunicorn yourprojectname.wsgi

---
📚Resources & Further readings
Heroku CLI: https://devcenter.heroku.com/articles...
Django Checklist: https://docs.djangoproject.com/en/3.2...
Heroku Guide: https://devcenter.heroku.com/articles...
---
If you're into reading you can check Whilelab blog: https://whilelab.com
---
⌚ Video timeline

00:00 Deployment and PAAS (Heroku)
00:47 Prerequisites
01:02 App demo & exploring project files
01:20 Settings for deployment
01: 53 Installing required packages
02:48 Creating Heroku App
03:48 Deploying Changes to Heroku
04:51 Understanding the Procfile
06:00 Understanding How to Fix Problems Without Debug enabled
08:11 Testing the app and Database
08: 57 Security checklist

---
🔗 Links & Resources
---
❔ About The Channel:
#Whilelab is a Youtube channel that mainly creates content for software developers, we cover all topics from how to solve interview coding challenges, to creating cool projects and learning libraries and frameworks.

if that's something you're interested in, you can subscribe to the channel for free from here 👉 http://bit.ly/subscribe-whilelab

---
⌚ The Current Uploading Schedule:
A New Video Every Friday!

---
😊 Playlists You May Like:
A 100 Python Trick to Level Up Your Skills: https://bit.ly/100-python-trick-playlist
Top Tips: http://bit.ly/Top-Tips-Whilelab
Solving Hackerrank with Python: http://bit.ly/Hackerrank-Python-Whilelab
Speed coding: http://bit.ly/Speed-Coding-Whilelab
30 Days of Code Challenge in Python: bit.ly/30daysofcode-python

---
The Channel Social Media Accounts
Twitter :
👉 http://bit.ly/whilelab-twitter
Instagram :
👉 http://bit.ly/whilelab-instagram

---
If you've come this far, I would like to thank you for your time and wish you the best, and I hope you enjoy my content if you have any feedback or suggestion, then please let me know in the comments section.