Heroku Webhosting for Django - Python Django Dentist Website #12

Поділитися
Вставка
  • Опубліковано 30 лис 2024

КОМЕНТАРІ • 277

  • @Codemycom
    @Codemycom  4 роки тому +3

    ▶️ Watch Entire Money Making Playlist ✅ Subscribe To My UA-cam 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 4 роки тому +16

    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

  • @sriram9786
    @sriram9786 4 роки тому

    You are the only guy who not only teaches how to but also explain errors

    • @Codemycom
      @Codemycom  4 роки тому +1

      :-)

    • @sriram9786
      @sriram9786 4 роки тому

      @@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.

  • @vend57
    @vend57 4 роки тому +18

    Mom: what are u doing?
    Me: Sir Walter White is teaching me how to push my Django Code.

  • @calebpeter7020
    @calebpeter7020 3 роки тому +1

    You are more than a teacher. God bless you, sir

    • @Codemycom
      @Codemycom  3 роки тому +1

      Thanks! I appreciate it!

  • @furkanesen
    @furkanesen 2 роки тому +3

    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.

  • @naveenkumarm7339
    @naveenkumarm7339 4 роки тому +2

    I've Completed the Django Dentist Website and Hosted. Thank you for emboldening me !!!

    • @Codemycom
      @Codemycom  4 роки тому +2

      Congratulations, good job!

  • @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!!!

  • @687r45dfg
    @687r45dfg 4 роки тому +3

    Exactly 5K Subscribers In About 15 Days. You Are Great. Keep Growing

  • @MitraElectronics
    @MitraElectronics 3 роки тому +1

    Thank you, I am also from India. Highly appreciate your tutorial

  • @sambitmohanty7835
    @sambitmohanty7835 4 роки тому +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 роки тому +1

    pozitif bir enerjiyle anlatmış olduğunuz bütün dersler için çok teşekkür ederim. (thank you so much.)

  • @Conormcnproductions
    @Conormcnproductions 2 роки тому

    thanks for the great fast-paced tutorials, it means a lot

  • @tudorcozma6781
    @tudorcozma6781 4 роки тому +1

    Thank you, John, for what are you doing for as.

    • @Codemycom
      @Codemycom  4 роки тому

      Happy to help! Glad you're enjoying the videos!

  • @bmxguy
    @bmxguy 3 роки тому +3

    You are the man!! Merry Christmas, thanks for all the help along the way.

  • @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!

  • @TheLinguists
    @TheLinguists 3 роки тому +2

    Finally a tutorial that worked for me! Thanks

  • @sahilkulria7325
    @sahilkulria7325 2 роки тому +1

    Please tell us how we can store the data of website deployed on heroku in excel files in our computer

    • @Codemycom
      @Codemycom  2 роки тому

      There's no real way to easily do that...why would you want to? Just use a database

    • @sahilkulria7325
      @sahilkulria7325 2 роки тому

      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.

  • @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!

  • @michaelolu4752
    @michaelolu4752 4 роки тому +1

    Thanks a lot man...I finally did it after so many errors!!

  • @Marco110981
    @Marco110981 2 місяці тому

    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  2 місяці тому

      I rarely set that thing to false...

    • @Marco110981
      @Marco110981 2 місяці тому

      ​@@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!

  • @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.

  • @vikashprasad6157
    @vikashprasad6157 4 роки тому +1

    Thank you john 4 such a awesum tutorial..☺️👍

  • @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!

  • @sartajjamalchowdhury5281
    @sartajjamalchowdhury5281 3 роки тому

    Thank you ! Finally deployed my first django app c":
    It's looking bop!

  • @anveshreddy1461
    @anveshreddy1461 3 роки тому

    u r like walter white from breaking bad 🤣🤣❤❤

  • @mr.bubbles9465
    @mr.bubbles9465 2 роки тому

    I love the fact that u can see a folder called "bs" on his desktop at 5:30

  • @Venom-ne4ox
    @Venom-ne4ox 4 роки тому +1

    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  4 роки тому

      Yes, you're wrong. The heroku hosting uses it and requires it.

  • @Youssouf_Maroci
    @Youssouf_Maroci 4 роки тому

    I have this problem
    $ git push
    fatal: No configured push destination.
    what's wrong!!!!

    • @Codemycom
      @Codemycom  4 роки тому

      Looks like you didn't set up github

  • @habiborrahaman4531
    @habiborrahaman4531 3 роки тому +2

    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 -- > ua-cam.com/video/kt3ZtW9MXhw/v-deo.html

  • @lorimedicenter4439
    @lorimedicenter4439 2 роки тому

    well done ! could you make video about wordcloud with python

    • @Codemycom
      @Codemycom  2 роки тому

      Sorry, I don't know what that is

  • @johanneskrugersoftwaredeve9408
    @johanneskrugersoftwaredeve9408 4 роки тому +3

    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 роки тому +1

      Yes. you always have to save your code to git before you push to heroku...

  • @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.

  • @Storyscapes666
    @Storyscapes666 2 роки тому

    You are the best man.. Thank you ❤

  • @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?

  • @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

  • @matex600
    @matex600 2 роки тому

    hi John my dentist contact email throws an error 500 when I try to enter details and send the mail

  • @sriram9786
    @sriram9786 4 роки тому

    Well explained sir love you so much

  • @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.

  • @derrickwilliam1009
    @derrickwilliam1009 4 місяці тому

    Thanks so much, Life saver!!

  • @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.

  • @aaronknutson9918
    @aaronknutson9918 4 роки тому

    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.

  • @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.

  • @allinone-mx9cm
    @allinone-mx9cm 4 роки тому +1

    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 4 роки тому

      I am also getting same error if you know how to solve it then please reply.

  • @hibas7568
    @hibas7568 4 роки тому +1

    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 роки тому +3

      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

  • @prasangaprix2133
    @prasangaprix2133 2 роки тому +1

    Is there any other way to the host?, LIke normal hosting way..
    e.x - hostinger

    • @Codemycom
      @Codemycom  2 роки тому +1

      Sure, but I don't have videos on that.

  • @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?

  • @ShubhamYadav-rd1mv
    @ShubhamYadav-rd1mv 3 роки тому +1

    Thanks a lot man, it took me time, but I did it.
    Happy New Year 🎉

  • @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

  • @AnshSharma747
    @AnshSharma747 2 роки тому

    Does the admin panel work with heroku?

  • @yanis2183
    @yanis2183 4 роки тому +1

    amazing tutorial, thank you so much !

  • @HuyNguyen-os1gh
    @HuyNguyen-os1gh 4 роки тому

    Thanks you for your ytb video :)
    From Vietnam with love 🇻🇳❤️

  • @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.

  • @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

  • @silaskanku7377
    @silaskanku7377 Рік тому

    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  Рік тому +1

      you can't use sqlite on heroku, use postgres

  • @exceptionalfaruk7388
    @exceptionalfaruk7388 4 роки тому +1

    Excellent. Great work

  • @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.

  • @TechWithSabri
    @TechWithSabri 4 роки тому

    thank you so much sir for your help
    you are the best sir

  • @ganeshthorat2912
    @ganeshthorat2912 4 роки тому +1

    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

  • @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 роки тому +1

      You skipped a step in the video.

  • @AKBaconful
    @AKBaconful 4 роки тому +1

    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

  • @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

  • @Algeriaiptv
    @Algeriaiptv 3 роки тому

    How I can set debug = true, I got errors ?

  • @ayushtripathi2605
    @ayushtripathi2605 4 роки тому

    Taklu Sir 😆😆😆 Your Videos are nice

    • @Codemycom
      @Codemycom  4 роки тому

      Thank you so much 😀

  • @nishantrao5600
    @nishantrao5600 3 роки тому

    This helped a lot! Thanks!

  • @Christian-rj2zq
    @Christian-rj2zq 4 роки тому

    I get an application error saying: NameError: name 'Django_heroku' is not defined ? :(

  • @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

  • @MMD-vd6ze
    @MMD-vd6ze 4 роки тому

    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  4 роки тому

      Is your template file in the right place?

    • @MMD-vd6ze
      @MMD-vd6ze 4 роки тому

      @@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  4 роки тому

      @@MMD-vd6ze Glad you got it sorted out :-)

  • @BikiniGyat
    @BikiniGyat 3 роки тому

    Thank you so much! you have no idea how many lives your impacting! Continue doing your amazing work.

  • @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.

  • @tharukerajapaksha3652
    @tharukerajapaksha3652 3 роки тому

    Thank you sir

  • @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 :))

  • @arieljose2920
    @arieljose2920 2 роки тому

    THANK YOU

  • @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!

  • @ИгорьКузнецов-т8р
    @ИгорьКузнецов-т8р 4 роки тому

    Hi! Before we push up our app to heroku do we need in Settings file change Debug to False?

    • @Codemycom
      @Codemycom  4 роки тому +1

      You can, but don't have to. I didn't in the video and it worked...right?

    • @ИгорьКузнецов-т8р
      @ИгорьКузнецов-т8р 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 ;)

  • @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

  • @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 роки тому +1

      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 = ua-cam.com/video/GMbVzl_aLxM/v-deo.html

  • @vignxs
    @vignxs 3 роки тому +1

    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

  • @abdullashafi580
    @abdullashafi580 3 роки тому

    sir I'm getting this error "ModuleNotFoundError: No module named 'my_app.urls' " Why this is happening ?please help

    • @enriquecipriano1346
      @enriquecipriano1346 3 роки тому

      you probably dont have that app listen in ur installed apps in the setting .py of youre main project files

  • @ДенисМаслов-у2е
    @ДенисМаслов-у2е 3 роки тому

    Thank you, you are awesome!!

  • @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 роки тому +1

      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

  • @hiralalkumhar8121
    @hiralalkumhar8121 2 роки тому

    why do we have to switch to virtual environment

    • @Codemycom
      @Codemycom  2 роки тому

      Because it's best practices.

  • @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'

  • @ZefJay000
    @ZefJay000 4 роки тому

    i'm using pycharm and when i create the procfile file, pycharm asks for a file extension with no option of no extension. any suggestions ? thx

    • @Codemycom
      @Codemycom  4 роки тому +2

      Stop using pycharm...it sucks

    • @ZefJay000
      @ZefJay000 4 роки тому

      @@Codemycom haha thanks for the quick reply. i think i figured out a work around- i just appended the file using an echo command in the terminal- still couldnt deploy, but oh well

  • @ferdousahmed5159
    @ferdousahmed5159 4 роки тому

    @codemy how can i apply changes after deploying on heroku

    • @Codemycom
      @Codemycom  4 роки тому

      Change them locally, save to git and then push the app to heroku again with: git push heroku master

  • @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 роки тому +1

      are you using virtual environments correctly?

  • @bleandertutorialske6160
    @bleandertutorialske6160 6 місяців тому

    Hi, is there a problem when i host my project with my email password and the django security key in heroku

    • @Codemycom
      @Codemycom  6 місяців тому

      Sorry, I don't know what you mean.

    • @bleandertutorialske6160
      @bleandertutorialske6160 6 місяців тому

      @@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  6 місяців тому

      @@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 6 місяців тому

      @@Codemycom Thankyou John, very helpful.

  • @dsons
    @dsons 2 роки тому

    do u need to do the ssh step?

  • @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 4 роки тому

      git commit -m "tweaked app for heroku"

  • @endorfineater
    @endorfineater 3 роки тому

    Thanks a lot ♥

  • @sriram9786
    @sriram9786 4 роки тому

    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

  • @prenomnom5637
    @prenomnom5637 4 роки тому

    Man, you are great.

  • @marcuswright6263
    @marcuswright6263 2 роки тому

    Is it ok to disable static files?

    • @Codemycom
      @Codemycom  2 роки тому

      It's coding...it's ok to do whatever you want

  • @shilpthapak7823
    @shilpthapak7823 3 роки тому

    Hey, thanks fo this video.
    I watched it so many time to upload all my projects.
    However, one of my project failed because of this error:
    django.db.utils.ProgrammingError: cannot cast type time without time zone to timestamp with time zone.
    Can't resolve the error through stackolverflow as well.
    Hope you can help me with this.

    • @bencipherx
      @bencipherx 3 роки тому

      Do you get the issue locally?

    • @shilpthapak7823
      @shilpthapak7823 3 роки тому

      @@bencipherx No, locally everything is fine.

    • @bencipherx
      @bencipherx 3 роки тому

      Okay, the issue is with your code, and the timezone. Looks like you're saving a time value into dB, is that correct?. A look into the code might help. Can you confirm if the time saved into your dB is the same as your actual time.

    • @shilpthapak7823
      @shilpthapak7823 3 роки тому

      @@bencipherx Yes I am saving the time in my sqlite db

    • @shilpthapak7823
      @shilpthapak7823 3 роки тому +1

      @@bencipherx Thanks a lot Ben!

  • @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

  • @a2cfrancisfortes137
    @a2cfrancisfortes137 3 роки тому

    i get fatal repository?

  • @bjaysam5475
    @bjaysam5475 4 роки тому

    How can I deploy a Django website using the control panel?

    • @Codemycom
      @Codemycom  4 роки тому

      What control panel?

    • @bjaysam5475
      @bjaysam5475 4 роки тому

      @@Codemycom cPanel control panel

    • @Codemycom
      @Codemycom  4 роки тому +1

      @@bjaysam5475 I don't know that you can