Awesome Brother. Almost two days I'm trying to deploy my app. I watched so many videos but nothing works. Your explanation is really awesome and the steps are clear. Expecting more videos on Django framework.
I tried so many reads on Stack Overflow and blogs regarding Heroku deployment on Django apps, but so far your video demonstrated it with perfection. Really thankful for your help.
This tutorial saved my day .it was one of the best tutorials for deploying a django app on heroku . i don't know how to show my gratitude. thank you so much
I also struggled to figure it out initially. Once I perceived it, i thought of sharing the concept with the community.. Glad you liked it.l Don't forget to subscribe. Waiting for first 1000. :D
You really simplified my understanding. Best Heroku deployment tutorial I ever watched... I will be glad if you create one for AWS and Digital Ocean too
Requesting a video: Can you please make a video to deploy a django app that successfully sends mail. Thanks. This video was very helpful thanks alot sir.
You can download 'pgAdmin' and then create a server in it which can then connect to your database. To create the server, you will need some credentials which can be found on heroku.
Thanks. Very insightful, but you had me forgetting to make new migrations after changing the database to postgres in the settings file. Also, for the ENGINE field, I wrote "postgresql" at the end of the string instead of "postgresql_psycopg2" as it's more relative to the newer versions of Django
Hi! Thanks for this great video. Almost everything worked. When I pushed files to github they were saved there inside a folder, not one by one like yours(ex. in my github repository first i can see DDAH/ddah folder and only when i press that i can see all the files) because of this heroku gives me an error when i try to deploy it.
Thank you Ajay, I didn't need whitenoise at all because I didn't deal with any static files in this tutorial. However, you might need whitenoise in real project.
Great work. I don't however think it's a nice idea to have to manually put your heroku database credentials in the code that is pushed to github. Just not best practice.
@@codeaura5138 Yes, I understand. Also a tutorial suggestion that I'm very convinced people will find extremely valuable is setting up CI/CD for the Django project, right before they even write any code. So when they push to main branch, it's deployed live. I'm serious when I say I'm yet to find any creator who has done a great job with that kind of tutorial.
@@devtosxn I agree, I recently watched and read a lot of the resources available online on how to set up Django + Postgres (or also DRF and Redis), and honestly most of them are not very good, at least not for someone doing it the first time.
i am having this error please help me.... ModuleNotFoundError: No module named 'django_heroku' ! Error while running '$ python manage.py collectstatic --noinput'
ERROR: Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32) (from versions: none) can anyone help me resolve this error during deployement
any clue about this error? File "/app/.heroku/python/lib/python3.10/asyncio/windows_events.py", line 6, in raise ImportError('win32 only') ImportError: win32 only
Awesome Brother. Almost two days I'm trying to deploy my app. I watched so many videos but nothing works. Your explanation is really awesome and the steps are clear. Expecting more videos on Django framework.
Excellent, voice is perfect🚀🚀🚀🚀🚀🚀🚀🚀🚀🚀
I tried so many reads on Stack Overflow and blogs regarding Heroku deployment on Django apps, but so far your video demonstrated it with perfection. Really thankful for your help.
Glad it helped.
Share it with your colleagues or friends. And don't forget to subscribe the channel.
FINALLY! A Heroku tutorial that's up-to-date and actually works. Thank you!
Glad it helped. :D
Please, consider subscribing to my channel. More are coming.
@@codeaura5138 Persistent images using S3 would be a nice complement to the initial tutorial.
starting this tutorial right now. I hope that i am successful in deploying the project
Best video for understanding deployment on heroku
This tutorial saved my day .it was one of the best tutorials for deploying a django app on heroku . i don't know how to show my gratitude. thank you so much
Thank you for your kind words. Share the video and Stick around ...happy coding!
hey, i just want to say thank you. i spent literall days trying to figure it out, and you showed it all in 15 minutes. i reall appreciate it!!
I also struggled to figure it out initially. Once I perceived it, i thought of sharing the concept with the community..
Glad you liked it.l Don't forget to subscribe. Waiting for first 1000. :D
@@codeaura5138 Now not working bro uptade tutorial
dude i love u u save my life
You really simplified my understanding. Best Heroku deployment tutorial I ever watched... I will be glad if you create one for AWS and Digital Ocean too
Requesting a video: Can you please make a video to deploy a django app that successfully sends mail. Thanks. This video was very helpful thanks alot sir.
Finally, this tutorial worked for me. Thank you so much.
You are welcome 😊
Thank you so much sir you helped me 🙏🏻
Great video. How I can login to PostgresSQL admin panel on deployed app?
You can download 'pgAdmin' and then create a server in it which can then connect to your database.
To create the server, you will need some credentials which can be found on heroku.
can I buy you coffee or something?you have no idea how much you have helped me thank you so much
You are so generous.! 🫣
Awesome, Awesome. This video is really what i need, thanks and keep doing this great work
Thank you
Thanks mate, been stuck on this for a while and it just made sense. Thanks so much.
Cool. Thx for all!
This is super. Your explanation is awesome bro. keep it up!
Glad you think so!
Thank you for this great tutorial:).
You are welcome 😊.
Glad it helped you.
I would appreciate , if you subscribe to my channel.
Trying my best to serve the community.
Thank you, works superbly
Good job 👍. Pls make a tuts on AWS deployment too, I love your contents.
Will it work on blog app which Corey Schafer has made
Why not Utkarsh?
When I clicked on postgres it showed a new tab named heroku data nothing else
How to get credintials of host
Sometimes it takes time to get your db created at heroku
@@codeaura5138 It's taking a lot is there a solution for this
It is not working 😭 what to do
Thank you so much
you are welcome
Thanks, great video!
You're welcome!
Thanks. Very insightful, but you had me forgetting to make new migrations after changing the database to postgres in the settings file.
Also, for the ENGINE field, I wrote "postgresql" at the end of the string instead of "postgresql_psycopg2" as it's more relative to the newer versions of Django
Explained well. Thanks..
How do you handle media files?
Hi! Thanks for this great video. Almost everything worked. When I pushed files to github they were saved there inside a folder, not one by one like yours(ex. in my github repository first i can see DDAH/ddah folder and only when i press that i can see all the files) because of this heroku gives me an error when i try to deploy it.
To avoid this issue, you have to initialize your 'git' inside 'ddah' folder, not 'DDAH' folder.
so this is pushing the creds directly, seems kinda not secure... make sure the repository is private!
You are right.
I kinda demonstrated how this can be done preliminarily, not securely.
Of course, you will have dot-env etc...
Can I do it with the MySQL database?
Yes
Thanks how to create superuser now?
You can use your local-shell to create a super user. Heroku-cli can be used too..
@@codeaura5138 how to create super user after deploying on heroku
This is a good one! But for the DATABASE part, I do not think it is the best way to do it because you expose the credentials.
You are right.
In production, these may come from .env variables. My goal was to demonstrate how to go live quickly.
doesn't show how to import a local postgresql database to the heroku db. But thanks for the initial config
Great tutorial, you haven't used whitenoise anywhere
Thank you Ajay,
I didn't need whitenoise at all because I didn't deal with any static files in this tutorial.
However, you might need whitenoise in real project.
Thanks
Hey, you are welcome man!
Please consider subscription :D
@@codeaura5138 ok
I cannot see profile images after deployment is there a solution for this
Sir you forgot to add the build pack Buildpacks under the Settings tab, you should select heroku/python
Great work. I don't however think it's a nice idea to have to manually put your heroku database credentials in the code that is pushed to github. Just not best practice.
You are 100% right. For simplicity, actually I demonstrated in that fashion.
@@codeaura5138 Yes, I understand. Also a tutorial suggestion that I'm very convinced people will find extremely valuable is setting up CI/CD for the Django project, right before they even write any code. So when they push to main branch, it's deployed live.
I'm serious when I say I'm yet to find any creator who has done a great job with that kind of tutorial.
@@devtosxn I agree, I recently watched and read a lot of the resources available online on how to set up Django + Postgres (or also DRF and Redis), and honestly most of them are not very good, at least not for someone doing it the first time.
You can add them in the Settings > Config Vars. I guess that's the right way to do? It worked for me.
i am having this error please help me.... ModuleNotFoundError: No module named 'django_heroku'
! Error while running '$ python manage.py collectstatic --noinput'
I think, I understood your problem.
I installed 'django-heroku' package. You might have missed that. Please, watch the video carefully.
@@codeaura5138 now its working thx bro
You are welcome. I am happy that you managed to solve it finally.
Happy coding! Stay in touch.
Is free?
To some degree
Thanks bro! But Media Files dont work :(
ERROR: Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32) (from versions: none) can anyone help me resolve this error during deployement
Did you manage to solve it? I removed it from requirements.txt file
Not to be gay, but I love you💀
SAVIOUR😔 M FEEELING EMOTIONAL AFTER TRYING AND TRYING
Hi brother can you tech me this Online meeting
On zoom or google meeting
Let me know
What is troubling you? Is there any specific problem? Let me know.
I thought, this video is sufficient to deploy django app on heroko platform.
@@codeaura5138
Its good work with me
How work with api to store in database
Remember to configure in settings.py:
Debug = False
Please how to recive notification in my gmaol when someone cotact me in contact form
any clue about this error?
File "/app/.heroku/python/lib/python3.10/asyncio/windows_events.py", line 6, in
raise ImportError('win32 only')
ImportError: win32 only