Django 2.1 - Hosting and deploying app on Heroku - 13/14

Опубликовано: 04 Октябрь 2024
на канале: buildwithpython
62,481
1.1k

In this video we learn to host our Django project on Heroku for free. Below is the check list you of things you need to do to host your Django project on Heroku.

Copy the project seperately
Go to 'Getting Started on Heroku with Python'
Create an Heroku account
install pipenv
Install git ( check git --version)
Install Heroku CLI
Login heroku
Create a virtual enviroment
Run manage.py not gonna run - pip freeze nothing installing
Check which version django,requests you have and install it
Run manage.py and then stop it
Go to django heroku
Create a Procfile and
Install django-heroku
Add stuff to settings.py file
Install guincorn
pip freeze - requirements.txt (use the angle bracket after pip freeze. Youtube doesn't allow angle bracket in description :/ )
heroku create attreyaweb (to create an app on heroku)
git status git commands - (git push heroku master
Open up the website)
Admin panel not working. heroku run bash. Migrations

Complete Playlist -    • Django (2.1): An Introduction for Beg...  

Source Code - https://github.com/attreyabhatt/Djang...
Subscribe -    / @buildwithpython  
Website - www.buildwithpython.com
Instagram -   / buildwithpython