Heroku Webhosting for Django - Python Django Dentist Website #12

  Рет қаралды 45,227

Codemy.com

Codemy.com

Күн бұрын

In this video we'll push our website to Heroku for webhosting!
We need to install a few things and configure out app to work on Heroku. We'll go over all of that in this video. We'll need the heroku toolbelt so our terminal can connect to Heroku. We'll also need several modules, namely: python-decouple, dj_database_url, and django_heroku which we'll pip install and add to our app.

Пікірлер: 276
@Codemycom
@Codemycom 4 жыл бұрын
▶️ Watch Entire Money Making Playlist ✅ Subscribe To My KZbin Channel: bit.ly/2tEBTzg bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com Take $30 off with coupon code: youtube1
@tinothecoder12
@tinothecoder12 3 жыл бұрын
i got one problem when i run heroku i got this error ''heroku logs --tail'' could you help sir.
@Codemycom
@Codemycom 3 жыл бұрын
@@tinothecoder12 that's not an error, that's what heroku is telling you to type into your terminal to see what the problem is...
@tinothecoder12
@tinothecoder12 3 жыл бұрын
@@Codemycom oh
@musicinsane2156
@musicinsane2156 2 жыл бұрын
@@tinothecoder12 heyy were you able to solve it?
@tinothecoder12
@tinothecoder12 2 жыл бұрын
@@musicinsane2156 Nope sadly I stop using Django for now and start using react.js
@matheuslisboa8059
@matheuslisboa8059 3 жыл бұрын
THANK YOU!!!! IT WAS THE FIRST TIME I FOLLOWED A TUTORIAL THAT WORKS!!! FINALLY I SET MY STATIC FILES IN THE RIGHT WAY ON HEROKU !!! YOU HAVE NO IDEA HOW HAPPY I AM
@Codemycom
@Codemycom 3 жыл бұрын
Glad it helped!
@calebpeter7020
@calebpeter7020 3 жыл бұрын
You are more than a teacher. God bless you, sir
@Codemycom
@Codemycom 3 жыл бұрын
Thanks! I appreciate it!
@vend57
@vend57 4 жыл бұрын
Mom: what are u doing? Me: Sir Walter White is teaching me how to push my Django Code.
@Codemycom
@Codemycom 4 жыл бұрын
lmao
@ferdousahmed5159
@ferdousahmed5159 4 жыл бұрын
lol.crystal django
@abdullashafi580
@abdullashafi580 3 жыл бұрын
@@ferdousahmed5159 get error
@naveenkumarm7339
@naveenkumarm7339 4 жыл бұрын
I've Completed the Django Dentist Website and Hosted. Thank you for emboldening me !!!
@Codemycom
@Codemycom 4 жыл бұрын
Congratulations, good job!
@sriram9786
@sriram9786 3 жыл бұрын
You are the only guy who not only teaches how to but also explain errors
@Codemycom
@Codemycom 3 жыл бұрын
:-)
@sriram9786
@sriram9786 3 жыл бұрын
@@Codemycom How can we use user uploadable files and postgres databaae in heroku can you help me sir. And also should we make changes to to django app other than you shown or every verion will work sir? Waiting for your reply sir.
@sambitmohanty7835
@sambitmohanty7835 4 жыл бұрын
You tutorials are Amazing......Your hard work is highly appreciated. Love from India :-)
@Codemycom
@Codemycom 4 жыл бұрын
Thank you! I appreciate it!
@ahmetgenc1025
@ahmetgenc1025 4 жыл бұрын
pozitif bir enerjiyle anlatmış olduğunuz bütün dersler için çok teşekkür ederim. (thank you so much.)
@Codemycom
@Codemycom 4 жыл бұрын
You're welcome!
@TheLinguists
@TheLinguists 3 жыл бұрын
Finally a tutorial that worked for me! Thanks
@Codemycom
@Codemycom 3 жыл бұрын
Glad you enjoyed it!
@bmxguy
@bmxguy 3 жыл бұрын
You are the man!! Merry Christmas, thanks for all the help along the way.
@Codemycom
@Codemycom 3 жыл бұрын
Thanks, you too!
@MitraElectronics
@MitraElectronics 3 жыл бұрын
Thank you, I am also from India. Highly appreciate your tutorial
@Codemycom
@Codemycom 3 жыл бұрын
Glad it was helpful!
@687r45dfg
@687r45dfg 4 жыл бұрын
Exactly 5K Subscribers In About 15 Days. You Are Great. Keep Growing
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@furkanesen
@furkanesen 2 жыл бұрын
NOTE: Git has changed it's "master" branch to "main". So if you are getting error with "git push heroku master", try "git push heroku main". This might fix your problem.
@Codemycom
@Codemycom 2 жыл бұрын
yep
@sedoid
@sedoid 3 жыл бұрын
Thank You!!!, This is the first time that I followed a tutorial that actually worked!!!.............. Thank You so Very Much!....This has made my entire week!!!
@Codemycom
@Codemycom 3 жыл бұрын
Glad to hear it!
@Conormcnproductions
@Conormcnproductions 2 жыл бұрын
thanks for the great fast-paced tutorials, it means a lot
@Codemycom
@Codemycom 2 жыл бұрын
welcome!
@ryan_0337
@ryan_0337 4 жыл бұрын
I really appreciate the fact that your listen the request of your community which follow you :)
@Codemycom
@Codemycom 4 жыл бұрын
It's what I'm here for!
@chuksedwinchris7178
@chuksedwinchris7178 3 жыл бұрын
God bless you man, yours is the first video i've followed without errors or this topic; you just earned a fan cos i clicked the subscribe button bro!
@Codemycom
@Codemycom 3 жыл бұрын
Awesome, thanks!
@tudorcozma6781
@tudorcozma6781 4 жыл бұрын
Thank you, John, for what are you doing for as.
@Codemycom
@Codemycom 4 жыл бұрын
Happy to help! Glad you're enjoying the videos!
@michaelolu4752
@michaelolu4752 3 жыл бұрын
Thanks a lot man...I finally did it after so many errors!!
@Codemycom
@Codemycom 3 жыл бұрын
Glad I could help
@habiborrahaman4531
@habiborrahaman4531 3 жыл бұрын
hello sir my image upload and my image show its fine, but 1 day after my image not showed. but why this issu, please tell me
@greetingsgentlemen.8179
@greetingsgentlemen.8179 3 жыл бұрын
The issue is, Heroku does not support user uploaded files. The best way to do this is to create a AWS account and select S3, from there you can follow this tutorial from Corey -- > kzbin.info/www/bejne/oaWWi6eNbrKLntk
@vikashprasad6157
@vikashprasad6157 4 жыл бұрын
Thank you john 4 such a awesum tutorial..☺️👍
@Codemycom
@Codemycom 4 жыл бұрын
My pleasure!
@BikiniGyat
@BikiniGyat 3 жыл бұрын
Thank you so much! you have no idea how many lives your impacting! Continue doing your amazing work.
@Codemycom
@Codemycom 3 жыл бұрын
Thanks! I will :-)
@dyhia9075
@dyhia9075 3 жыл бұрын
thaaaanks a million tiiiiiiiiime . .PS for me it was git push heroku main and not git push heroku master , because the thing in blue was main.
@Codemycom
@Codemycom 3 жыл бұрын
Welcome!
@Marco110981
@Marco110981 11 күн бұрын
Hi. Your video tutorial REALLY helped me. Thank you. I'm just one step away from what I think could be a final setup version. That would be setting debug=False and solving the 500 response error. Would you do a tutorial on how doing that? Thank you so much again
@Codemycom
@Codemycom 11 күн бұрын
I rarely set that thing to false...
@Marco110981
@Marco110981 6 күн бұрын
​@@Codemycomany chance to have a video tutorial on how to set that to false, and have that running on heroku? That is the problem I'm facing right now....
@User-lc4zo
@User-lc4zo 3 жыл бұрын
messing something up with heroku, will try some other full deploy soon. Thank you for this course sir!
@sartajjamalchowdhury5281
@sartajjamalchowdhury5281 3 жыл бұрын
Thank you ! Finally deployed my first django app c": It's looking bop!
@Codemycom
@Codemycom 3 жыл бұрын
awesome!
@mr.bubbles9465
@mr.bubbles9465 2 жыл бұрын
I love the fact that u can see a folder called "bs" on his desktop at 5:30
@Codemycom
@Codemycom 2 жыл бұрын
haha
@anveshreddy1461
@anveshreddy1461 3 жыл бұрын
u r like walter white from breaking bad 🤣🤣❤❤
@Codemycom
@Codemycom 3 жыл бұрын
ha!
@ShubhamYadav-rd1mv
@ShubhamYadav-rd1mv 3 жыл бұрын
Thanks a lot man, it took me time, but I did it. Happy New Year 🎉
@Codemycom
@Codemycom 3 жыл бұрын
Happy new year!
@exceptionalfaruk7388
@exceptionalfaruk7388 4 жыл бұрын
Excellent. Great work
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!!
@Storyscapes666
@Storyscapes666 2 жыл бұрын
You are the best man.. Thank you ❤
@Codemycom
@Codemycom 2 жыл бұрын
Thanks for watching!
@yanis2183
@yanis2183 4 жыл бұрын
amazing tutorial, thank you so much !
@Codemycom
@Codemycom 4 жыл бұрын
You're very welcome!
@ganeshthorat2912
@ganeshthorat2912 3 жыл бұрын
Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail can any one suggest me how to resolve it
@NewToneMusicOfficial
@NewToneMusicOfficial 2 жыл бұрын
Did you solve it? I have the same error
@Venom-ne4ox
@Venom-ne4ox 3 жыл бұрын
Great video, thank you. I have a question. Why we ran pip install python-decouple? It seems that we didn't use it anywhere, am l wrong?
@Codemycom
@Codemycom 3 жыл бұрын
Yes, you're wrong. The heroku hosting uses it and requires it.
@johanneskrugersoftwaredeve9408
@johanneskrugersoftwaredeve9408 4 жыл бұрын
I have an Error in the last step, when I type in: $ git push heroku master, i get this error and i cannot find a solution: No default language could be detected for this app. remote: HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically. Could someone please help me this that? Thank you very much, great Tutorials! edit: I solved the error, these are my steps: git add . git commit -am "another commit" git push heroku master
@Codemycom
@Codemycom 4 жыл бұрын
Yes. you always have to save your code to git before you push to heroku...
@sahilkulria7325
@sahilkulria7325 Жыл бұрын
Please tell us how we can store the data of website deployed on heroku in excel files in our computer
@Codemycom
@Codemycom Жыл бұрын
There's no real way to easily do that...why would you want to? Just use a database
@sahilkulria7325
@sahilkulria7325 Жыл бұрын
Not in real time, I want to do it once. I have deployed a website on heroku which uses heroku postgres database. I want to download all the data and deploy my website on another platform with all this data.
@derrickwilliam1009
@derrickwilliam1009 2 ай бұрын
Thanks so much, Life saver!!
@Codemycom
@Codemycom 2 ай бұрын
Welcome!
@aaronknutson9918
@aaronknutson9918 3 жыл бұрын
just wanted to give a heads up the forms do not work we did not set up the email sign in info for heroku to use. also i can navigate to the page but when i try to access it from a phone or tablet i get an error about not having a secure connection.
@sriram9786
@sriram9786 3 жыл бұрын
Well explained sir love you so much
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@mihaelacostea5783
@mihaelacostea5783 2 жыл бұрын
Hi there, what should the destination for the Git Push be? The link to the repository I guess? Im required a destination when im pushing to Git.
@Codemycom
@Codemycom 2 жыл бұрын
You need to go back and watch the video where I set up git and github, you did something wrong.
@marcinwozniak8184
@marcinwozniak8184 3 жыл бұрын
Hey friend i have question. Why are you installi those libraries into pip and not into virtual env?
@Codemycom
@Codemycom 3 жыл бұрын
pip does install them into virtual env. That's what pip does. that's HOW you install them into the virtual env.
@Python_Hacks
@Python_Hacks Жыл бұрын
I can only login to heroku using windows terminal. Why can't I get pass the '' heroku: Press any key to open up the browser to login or q to exit:'' in git bash it freezes here. Any sugggestions? Everything is up to date....
@Codemycom
@Codemycom Жыл бұрын
Don't think it's freezing...check your web browser....it probably opened there. Then control+c to break the terminal.
@lorimedicenter4439
@lorimedicenter4439 2 жыл бұрын
well done ! could you make video about wordcloud with python
@Codemycom
@Codemycom 2 жыл бұрын
Sorry, I don't know what that is
@allinone-mx9cm
@allinone-mx9cm 4 жыл бұрын
No matching distribution found for pywin32==228 (from -r /tmp/build_6fdd2b83/requirements.txt how to solve sir
@Codemycom
@Codemycom 4 жыл бұрын
You'll have to copy the exact error to Google and search
@ThoratGanesh
@ThoratGanesh 3 жыл бұрын
I am also getting same error if you know how to solve it then please reply.
@reniboyanova9388
@reniboyanova9388 Жыл бұрын
Where is Database? I am with pycharm and I can't understand how and is it need to configure it? Also I don't see about Allowed_hosts Could you help me, please?
@prasangaprix2133
@prasangaprix2133 Жыл бұрын
Is there any other way to the host?, LIke normal hosting way.. e.x - hostinger
@Codemycom
@Codemycom Жыл бұрын
Sure, but I don't have videos on that.
@TechWithSabri
@TechWithSabri 4 жыл бұрын
thank you so much sir for your help you are the best sir
@Codemycom
@Codemycom 4 жыл бұрын
I appreciate it!
@25_deepkumargoenka77
@25_deepkumargoenka77 2 жыл бұрын
Will the SSH Key different for all the Django Projects or it will be the same key? Means do I have to generate SSH Key whenever I host a Django Project from my machine?
@Codemycom
@Codemycom 2 жыл бұрын
same key
@25_deepkumargoenka77
@25_deepkumargoenka77 2 жыл бұрын
@@Codemycom Ok Sir. Thank You so much Sir.
@nezhatnour2462
@nezhatnour2462 2 жыл бұрын
I tried to push my event website with Heroku Webhost which I created with Django Wednesday, and It has different STATICFILES_DIRS!! How can I fix it? It says STATICFILES_DIRS setting does not exist. Thanks again for wonderful videos!
@hibas7568
@hibas7568 4 жыл бұрын
Hii, i'm creating a simple dynamic dental website for a client, I was able to create it smoothly watching your videos. However I'm really confused if I should choose the $7 hobby plan or the standard plan. Could you please share your expertise on this.
@Codemycom
@Codemycom 4 жыл бұрын
It doesn't matter. It's a matter of how much traffic the site will get. Start cheap, you can change it later
@ghhussainwani6633
@ghhussainwani6633 2 жыл бұрын
how can we connect this project with postges and serve using nginx
@AKBaconful
@AKBaconful 4 жыл бұрын
when i put my site online, it wont load a few of my images. the site worked offline without problems but now some of my content wont load.
@Codemycom
@Codemycom 4 жыл бұрын
Run the command: heroku logs and see if there are any errors.
@AKBaconful
@AKBaconful 4 жыл бұрын
@@Codemycom it only says: Not Found: /*path*. but all my img are in the same folder and i didnt change them. i also checked github and all my file are uploaded
@silaskanku7377
@silaskanku7377 11 ай бұрын
Hello there Codemy. I'm struggling to solve this problem and i was hoping that i may get some help. everytime i deploy my project to heroku using the step in the video, i notice that my sqlite3 databse is deleting content which i post after deployment. how do i deploy my updated project codes without erasing content from the database?
@Codemycom
@Codemycom 11 ай бұрын
you can't use sqlite on heroku, use postgres
@basavarajpatil9821
@basavarajpatil9821 3 жыл бұрын
I have already connected my django to postgre db before pushing to Heroku then what configuration I have to apply so my db to hosted live on heroku
@ayushtripathi2605
@ayushtripathi2605 3 жыл бұрын
Taklu Sir 😆😆😆 Your Videos are nice
@Codemycom
@Codemycom 3 жыл бұрын
Thank you so much 😀
@arieljose2920
@arieljose2920 2 жыл бұрын
THANK YOU
@nishantrao5600
@nishantrao5600 3 жыл бұрын
This helped a lot! Thanks!
@Codemycom
@Codemycom 3 жыл бұрын
You're welcome!
@HuyNguyen-os1gh
@HuyNguyen-os1gh 3 жыл бұрын
Thanks you for your ytb video :) From Vietnam with love 🇻🇳❤️
@Codemycom
@Codemycom 3 жыл бұрын
Thank you too!
@Youssouf_Maroci
@Youssouf_Maroci 3 жыл бұрын
I have this problem $ git push fatal: No configured push destination. what's wrong!!!!
@Codemycom
@Codemycom 3 жыл бұрын
Looks like you didn't set up github
@matex600
@matex600 2 жыл бұрын
hi John my dentist contact email throws an error 500 when I try to enter details and send the mail
@nezhatnour2462
@nezhatnour2462 2 жыл бұрын
Hi. I keep getting this message for push git Heroku : HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
@Codemycom
@Codemycom 2 жыл бұрын
You skipped a step in the video.
@mz5511
@mz5511 Жыл бұрын
If in the future you want to change something in your website . How you gonna update the website in the heroku?
@Codemycom
@Codemycom Жыл бұрын
In the same exact way. Change it locally and then push it to heroku as usual
@tharukerajapaksha3652
@tharukerajapaksha3652 2 жыл бұрын
Thank you sir
@Codemycom
@Codemycom 2 жыл бұрын
Welcome
@fakeavangchhia3131
@fakeavangchhia3131 Жыл бұрын
after i 'heroku keys:add' it stuck how would i do
@gokulreji4253
@gokulreji4253 3 жыл бұрын
if I have any updates on my website, how to update that stuff to Heroku, can I do this all thinks once again?
@Codemycom
@Codemycom 3 жыл бұрын
Change it locally, save to git, and push it to heroku in the same way. git push heroku master
@user-sv2tx7nv3m
@user-sv2tx7nv3m 3 жыл бұрын
Thank you, you are awesome!!
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@mohdalkhasawneh3570
@mohdalkhasawneh3570 2 жыл бұрын
'git push heroku main', this command worked with me. I got an error when a write this command 'git push heroku master'
@Codemycom
@Codemycom 2 жыл бұрын
yes, it's main now.
@endorfineater
@endorfineater 2 жыл бұрын
Thanks a lot ♥
@Codemycom
@Codemycom 2 жыл бұрын
Sure thing
@yanis2183
@yanis2183 4 жыл бұрын
everything worked well, but i realised that the DEBUG is set to TRUE which is not good in production, when i turn the DEBUG to FALSE and add the set the ALLOWED HOSTS it is giving me an error 500 or it is only loading the html without the static files
@Codemycom
@Codemycom 4 жыл бұрын
Just leave the debug to true if you can't figure it out
@yanis2183
@yanis2183 4 жыл бұрын
@@Codemycom thanks for answering, i found out how to do it here = kzbin.info/www/bejne/fX7Fh62ilMZ_rq8
@mauriceyang937
@mauriceyang937 3 жыл бұрын
How do I specify which ssh keys to use for heroku? I created multiple ssh keys, one for each project, so how do I do it?
@Codemycom
@Codemycom 3 жыл бұрын
You don't. You only need one ssh key on your computer
@oveyo8254
@oveyo8254 3 жыл бұрын
I don't recieve emails when my site is hosted on heroku, only when it's on my computer. Any help?
@oveyo8254
@oveyo8254 3 жыл бұрын
The problem was that I forgot to config vars on heroku!
@whitebird365
@whitebird365 4 жыл бұрын
Thank you very much John! You are really the BEST teacher.. God bless you. I have a issue with sending a message from the website (It shows an error in the website with a critical security alert in my gmail) and it was working fine before hosting the app!! Please what can I do to fix the problem?
@Codemycom
@Codemycom 4 жыл бұрын
I'm not sure...email is tricky and it could be many things...you'll have to Google the errors...
@omurkanabaskanov6788
@omurkanabaskanov6788 4 жыл бұрын
Whit bird, I came accross with the same issue. After deploying with Heroku sending messages from the website stopped working. Here is what helped me. Visit github.com/nodemailer/nodemailer/issues/611 and find 'shubham-awr commented on 17 Jan 2018' who wrote 'Try this, accounts.google.com/b/0/DisplayUnlockCaptcha This will allow machines to access your gmail remotely.' I my case it helped almost immediately.
@sehajdeepsingh6522
@sehajdeepsingh6522 3 жыл бұрын
Sir how to make a Procfile on powershell as I don't have a bash terminal
@Codemycom
@Codemycom 3 жыл бұрын
git-scm.com the git terminal is free. get it.
@harddrive7663
@harddrive7663 Жыл бұрын
Hi sir. I followed everything you said but at the end of it, heroku returned a message 'No module named '_tkinter'.. Can you tell me how to fix this issue ? When i checked it, tkinter is used by Pillow
@Codemycom
@Codemycom Жыл бұрын
There should be no reference to Tkinter anywhere, and no, Pillow does not use Tkinter. You likely have not used your virtual environment correctly.
@harddrive7663
@harddrive7663 Жыл бұрын
@@Codemycom last question sir. I did what you said and everything works fine, until heroku cannot read my django models. Any idea what causes this problem sir? Or how to fix it ? I cannot find an answer on google. Thanks in advance sir :)
@harddrive7663
@harddrive7663 Жыл бұрын
I fixed it sir. Thanks a lot sir :))
@benchatronicsbenchatronics4641
@benchatronicsbenchatronics4641 2 жыл бұрын
Thanks! that was great, i have successfully uploaded my app using your steps. awesome but i have a question how can i manage or edith my apps on heroku? or how can i post with going to the django admin
@Codemycom
@Codemycom 2 жыл бұрын
You go to the admin page in the same way on heroku, except instead of the url being localhost/admin it will be your heroku url/admin. To edit the app...make your code changes locally on your computer as always, then push the app again to heroku.
@prenomnom5637
@prenomnom5637 3 жыл бұрын
Man, you are great.
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@swapnilshrishrimal4520
@swapnilshrishrimal4520 4 жыл бұрын
Thank you for this helpful tutorial. Can't thank you enough already. I have deployed Django app on heroku and is working well and good. Only thing I noticed is that when I access the URL or website on mobile the site does not load properly and needs some tweaks to make it compatible for all devices. Is it possible for your to share some insight to do so ? Once again, thanks a lot for your tutorials.
@Codemycom
@Codemycom 4 жыл бұрын
Is your site designed to be mobile ready?
@swapnilshrishrimal4520
@swapnilshrishrimal4520 4 жыл бұрын
@@Codemycom No, I don't think it is. I just used free template available online and created a website. I don't have any idea about making website mobile ready.
@Codemycom
@Codemycom 4 жыл бұрын
@@swapnilshrishrimal4520 Usually the template does that for you
@swapnilshrishrimal4520
@swapnilshrishrimal4520 4 жыл бұрын
@@Codemycom Okay, I think then template itself is not compatible for all devices. Anyway thanks for your help.
@Codemycom
@Codemycom 4 жыл бұрын
@@swapnilshrishrimal4520 could be
@Christian-rj2zq
@Christian-rj2zq 3 жыл бұрын
I get an application error saying: NameError: name 'Django_heroku' is not defined ? :(
@abdullashafi580
@abdullashafi580 3 жыл бұрын
sir I'm getting this error "ModuleNotFoundError: No module named 'my_app.urls' " Why this is happening ?please help
@enriquecipriano1346
@enriquecipriano1346 2 жыл бұрын
you probably dont have that app listen in ur installed apps in the setting .py of youre main project files
@hiralalkumhar8121
@hiralalkumhar8121 2 жыл бұрын
why do we have to switch to virtual environment
@Codemycom
@Codemycom 2 жыл бұрын
Because it's best practices.
@Televizorcameraica
@Televizorcameraica 2 жыл бұрын
Hello, when I'm importing django_heroku it appears this error: "Import "django_heroku" could not be resolved" requirements.txt: asgiref==3.5.2 dj-database-url==0.5.0 Django==4.0.4 django-environ==0.8.1 django-extensions==3.1.5 django-heroku==0.3.1 graphviz==0.20 gunicorn==20.1.0 numpy==1.22.4 pandas==1.4.2 psycopg2==2.9.3 pydot==1.4.2 pyparsing==3.0.9 python-dateutil==2.8.2 python-decouple==3.6 pytz==2022.1 six==1.16.0 sqlparse==0.4.2 touch==2020.12.3 tzdata==2022.1 values==2020.12.3 whitenoise==6.2.0 Do you know why the django_heroku appears not to work? Thank you
@Codemycom
@Codemycom 2 жыл бұрын
are you using virtual environments correctly?
@wiki-infodevelopment3369
@wiki-infodevelopment3369 4 жыл бұрын
git commit -am 'tweaked app for heroku' it gave me this error? fatal: paths 'app ...' with -a does not make sense
@Codemycom
@Codemycom 4 жыл бұрын
that command didn’t give you that error
@michaelolu4752
@michaelolu4752 3 жыл бұрын
git commit -m "tweaked app for heroku"
@habiborrahaman4531
@habiborrahaman4531 3 жыл бұрын
hello not working my pc, i use mongo db data base and django, how to deploy to heroku please, make a video
@codingbyday1083
@codingbyday1083 4 жыл бұрын
I published my app on Heroku. Everything worked, static files migrations etc. But few hours later I dont see the app anymore just blank screen. Tryed kaffeine to ping it every 30min, its says its awake but I dont see it. How do I solve this?
@Codemycom
@Codemycom 4 жыл бұрын
In your terminal type: heroku logs to see what's going on
@codingbyday1083
@codingbyday1083 4 жыл бұрын
@@Codemycom I turned off debug mode off, when I turned it on I saw it was an application error that I managed to solve. Client paid, app is online. Thank you, you are awesome! And we look exactly the same lol
@Codemycom
@Codemycom 4 жыл бұрын
@@codingbyday1083 awesome lol
@AnshSharma747
@AnshSharma747 2 жыл бұрын
Does the admin panel work with heroku?
@Codemycom
@Codemycom 2 жыл бұрын
Sure
@vignxs
@vignxs 3 жыл бұрын
I trying to deploy my app since last week Finally my app deployed because of you But my css file and images still not loading Help me out sir
@Codemycom
@Codemycom 3 жыл бұрын
What do you mean, not loading? In the terminal, run the command: heroku logs
@ryan_0337
@ryan_0337 4 жыл бұрын
Do you know how to use AWS amazon web services for django app espcially for windows ?
@Codemycom
@Codemycom 4 жыл бұрын
No, I don't really use AWS for much
@bleandertutorialske6160
@bleandertutorialske6160 4 ай бұрын
Hi, is there a problem when i host my project with my email password and the django security key in heroku
@Codemycom
@Codemycom 4 ай бұрын
Sorry, I don't know what you mean.
@bleandertutorialske6160
@bleandertutorialske6160 4 ай бұрын
@@Codemycom In the video, we did not hide our django security key and our email passwords. Is it safe to host them in heroku, or is there a way to host them while still keeping them safe.
@Codemycom
@Codemycom 4 ай бұрын
@@bleandertutorialske6160 They're fine on heroku, people can't see your code there...right? So long as you don't push them to github, you should be fine. You can always set them up as environmental variables if you're worried (google it).
@bleandertutorialske6160
@bleandertutorialske6160 4 ай бұрын
@@Codemycom Thankyou John, very helpful.
@dimensionalilusions4520
@dimensionalilusions4520 3 жыл бұрын
I don't think dentist is your app name since it has settings.py. So,It is to be your project's name.
@MMD-vd6ze
@MMD-vd6ze 3 жыл бұрын
Thank you john for helping us build and host our very own website! But I'm experiencing a bug right now that I don't have a fix for. Whenever I push the code to heroku and refresh the site I get an error saying "TemplateDoesNotExist". I searched far and wide for a fix but never found any. Could you help me out?
@Codemycom
@Codemycom 3 жыл бұрын
Is your template file in the right place?
@MMD-vd6ze
@MMD-vd6ze 3 жыл бұрын
@@Codemycom Yeah it was at the same directory as your templates files. Though I managed to fix it by making a new folder inside the templates folder and store the website files inside that folder. I can't believe you replied though, never thought you'd reply to an old video that was months ago. Thanks for the great videos though. Helped me out alot :)
@Codemycom
@Codemycom 3 жыл бұрын
@@MMD-vd6ze Glad you got it sorted out :-)
@rangabharath4253
@rangabharath4253 4 жыл бұрын
Thank u so much
@Codemycom
@Codemycom 4 жыл бұрын
You're very welcome!
@sriram9786
@sriram9786 3 жыл бұрын
Holy grail you are great great love ❤you love you love ❤you love you love ❤you love you 😘❤ love ❤❤❤❤❤ you from sri. Also can you help us with security in Django
@Codemycom
@Codemycom 3 жыл бұрын
What about security
@akinnagbekolawole610
@akinnagbekolawole610 4 жыл бұрын
Please someone explain what it is to turn virtual on and also switch to master branch? Any help at all?
@Codemycom
@Codemycom 4 жыл бұрын
What don't you understand? I have several videos on setting up and using git on this channel
@pramodhvedula8314
@pramodhvedula8314 3 жыл бұрын
Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail after deploying i am seeing this since last 4 days cant fix it can any one can help me
@vanexatonlio261
@vanexatonlio261 4 жыл бұрын
thanks a lot!
@Codemycom
@Codemycom 4 жыл бұрын
You're welcome!
@hello-my6ot
@hello-my6ot 2 жыл бұрын
Hi John Once you deployed your website on Heroku, how can you update it?
@Codemycom
@Codemycom 2 жыл бұрын
The same way. Make your changes locally, then push to heroku in the same way.
@user-oq3np1ud8q
@user-oq3np1ud8q 4 жыл бұрын
Hi! Before we push up our app to heroku do we need in Settings file change Debug to False?
@Codemycom
@Codemycom 4 жыл бұрын
You can, but don't have to. I didn't in the video and it worked...right?
@user-oq3np1ud8q
@user-oq3np1ud8q 4 жыл бұрын
@@Codemycom Yes it works correctly! I just wanted to clarify this moment. Coz I could missed it. Now just trying to solve problem with Heroku CLI. It gives me error when I try to install it on my PC. Hope it won't become this evening headache ;)
@dsons
@dsons Жыл бұрын
do u need to do the ssh step?
@Codemycom
@Codemycom Жыл бұрын
yes
@marcuswright6263
@marcuswright6263 2 жыл бұрын
Is it ok to disable static files?
@Codemycom
@Codemycom 2 жыл бұрын
It's coding...it's ok to do whatever you want
@You-jf1jb
@You-jf1jb 4 ай бұрын
Somehow my settings.py is gone, don't u know why?
@Codemycom
@Codemycom 4 ай бұрын
you deleted it accidentally.
Custom Heroku Domain Names - Python Django Dentist Website #12
17:38
小丑在游泳池做什么#short #angel #clown
00:13
Super Beauty team
Рет қаралды 38 МЛН
Heroku Is Dead, Here's What I Recommend
11:59
Theo - t3․gg
Рет қаралды 260 М.
How To Send Email With Django - Python Django Dentist Website #7
22:01
How to Deploy Django App on Heroku with PostgreSQL Database
14:38
Deploy a Django web app to a Render live server with PostgreSQL
46:57
Cloud With Django
Рет қаралды 27 М.
The 4 best ways to deploy a Django application
7:01
London App Developer
Рет қаралды 118 М.
Moving My Django Website Hosting From Heroku To Railway
27:08
Dennis Ivy
Рет қаралды 44 М.
Learn Django in 20 Minutes!!
21:25
Tech With Tim
Рет қаралды 368 М.
Deploy a Django App to Heroku
20:34
Pretty Printed
Рет қаралды 77 М.