How To Deploy A Django Project To Heroku

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 110

  • @sophiatang3770
    @sophiatang3770 5 วันที่ผ่านมา

    THANK YOU TOMI I LOVE YOU I WAS STRUGGLING SO BAD AND IT DIDNT WORK AT FIRST. I WAS USING KAGI and it kept giving me a 505 error bc it was a git repo cloned into my project so heroku kept pulling the old github code and not my modified kagi code in vscode. I then updated and pushed the code in github but never came back to it till now. Two weeks later I'm trying to do a diff method and all the other tutorials hosted on github. Tried it didn't work went thru the hassle of downloading all the big files to git desktop for no reason. I should've just tried it this way again after I figured out the kagi thing so I didn't have to waste another 3 hours.. BUT STILL IT WORKS AND IM SO HAPPY.

  • @theebookkeeper
    @theebookkeeper 3 ปีที่แล้ว +7

    finally now I can test my projects on the internet ;)

    • @CodeWithTomi
      @CodeWithTomi  3 ปีที่แล้ว +3

      I'm glad you enjoyed it

    • @3ssem-499
      @3ssem-499 3 หลายเดือนก่อน

      @@CodeWithTomi why I should first payment method fuckkkkkkkkkkkkkkkkk

  • @DanSevigny
    @DanSevigny 2 ปีที่แล้ว +4

    Thanks for the tutorial -- it would be helpful to hear more about *why* you're doing any particular thing, rather than just seeing you do it. Someone with no other knowledge of Heroku / Django would have a hard time using this tutorial to launch their own project. That said, always appreciative of content like this and glad to see how you do it. For me, reading the documentation was necessary to really learn.

    • @stocaster
      @stocaster ปีที่แล้ว

      yes. links to documentation and help pages for reference will be good.

  • @saadistan6550
    @saadistan6550 2 ปีที่แล้ว +1

    Man you are the best i was hopeless before watching this video but thanks to you

  • @AnimalUnleashedHD
    @AnimalUnleashedHD 3 ปีที่แล้ว +3

    Thanks for the StaticFiles code, that fixed my static files error when deploying to Heroku 👍

    • @CodeWithTomi
      @CodeWithTomi  3 ปีที่แล้ว +1

      I'm glad you enjoyed it

    • @darren_baldwin
      @darren_baldwin 3 ปีที่แล้ว +1

      @@CodeWithTomi I am getting this error: "TemplateDoesNotExist at /" how do I fix this?

  • @alonzolee2864
    @alonzolee2864 2 ปีที่แล้ว +1

    You explain that plain and simple. I like that!!!

  • @akinrotimidaniel2325
    @akinrotimidaniel2325 2 ปีที่แล้ว

    Thanks man, that django-heroku app is just the right solution, a wolẹ night was wasted without it

  • @thefrancho5235
    @thefrancho5235 3 ปีที่แล้ว +4

    Dude amazing video, i was tryin to deploy my app for 14 hours, got hopeless and i watched this videos as last resort...
    And it worked! Thanks Tomi, for real

    • @CodeWithTomi
      @CodeWithTomi  3 ปีที่แล้ว +1

      Thanks for watching it, and I'm glad you like it

  • @dembashow
    @dembashow 3 ปีที่แล้ว +3

    Man, you are incredible. Thanks for those tuts

  • @gracedumle8408
    @gracedumle8408 หลายเดือนก่อน

    Thank you for this video

  • @trevorphillips9731
    @trevorphillips9731 2 หลายเดือนก่อน

    Bro! This worked! THANK YOU!!

  • @quran-forAll
    @quran-forAll 2 ปีที่แล้ว +1

    You always make everything clear and easier ♡

  • @CosmicNomadis22
    @CosmicNomadis22 3 ปีที่แล้ว +2

    Thanks for the video man. Very clear & helpful.

  • @segunphilips753
    @segunphilips753 2 ปีที่แล้ว +1

    Hi, please, i need help, i got this error message after i did "git push heroku master" ! [remote rejected] master -> master (pre-receive hook declined)
    error: failed to push some refs to

  • @haroonzuberi339
    @haroonzuberi339 ปีที่แล้ว

    Simple and easy steps. thank you

  • @samiorra405
    @samiorra405 11 หลายเดือนก่อน

    Thank you very much, so simple and so efficient

  • @brantechsyt6130
    @brantechsyt6130 3 ปีที่แล้ว +3

    Nice video Tomi!!

  • @arbaaz9194
    @arbaaz9194 3 ปีที่แล้ว +3

    Can you do a video for setting Django app for deployment? like setting up environment variables, static files, media files, DEBUG=False, etc. I always face some problems while setting up for deployment.

    • @CodeWithTomi
      @CodeWithTomi  3 ปีที่แล้ว +2

      Watch this video I did on django deployment.... I explained everything there:
      th-cam.com/video/XZoTukqekzY/w-d-xo.html

  • @preciousnwogu9980
    @preciousnwogu9980 2 ปีที่แล้ว

    You are good in explanations... Thanks 👍

  • @TinTechPodcast
    @TinTechPodcast 2 ปีที่แล้ว

    Tomi, you are doing well

  • @jagadeeshmandala4097
    @jagadeeshmandala4097 3 ปีที่แล้ว +1

    How can we add payment option while registering to any online workshops??

  • @aka_bearz
    @aka_bearz 3 ปีที่แล้ว +1

    Thanks man, after 5 hours it works :'3

  • @theblackelephant
    @theblackelephant 2 ปีที่แล้ว +1

    Man What? You are Mr easy of explanation

  • @hamidslice5693
    @hamidslice5693 3 ปีที่แล้ว +1

    You spelled application wrong in the Procfile. Is that why i'm getting a error?

  • @obapalacebenin9413
    @obapalacebenin9413 2 ปีที่แล้ว +1

    Great tutorial cheif, please I'm unable to push to master, it says "[remote rejected] master -> master (pre-receive hook declined) ..." what do I do

  • @bardack134
    @bardack134 ปีที่แล้ว +1

    i thought heroku was free but it asking me to add a payment information to create an app

  • @Kiddiesspace171
    @Kiddiesspace171 2 ปีที่แล้ว

    Please i need help on building a junior developer portfolio , after following your videos for a while i feel i can finally call myself a junior developer

  • @obapalacebenin9413
    @obapalacebenin9413 2 ปีที่แล้ว +1

    Hey Tomi thanks for this, please how do I add my media file on heroku too, I need some clarity

    • @CodeWithTomi
      @CodeWithTomi  2 ปีที่แล้ว +2

      You need to setup cloud storage in your application before deploying it

  • @the_proton_guy
    @the_proton_guy 2 ปีที่แล้ว

    Anytime I try to open the link it shows application error. Please how can I fix this? Its driving me crazy

  • @satya5566
    @satya5566 3 ปีที่แล้ว +1

    Thanks - you are awesome

  • @quran-forAll
    @quran-forAll 2 ปีที่แล้ว

    Good job bro

  • @chrisharden1994
    @chrisharden1994 2 ปีที่แล้ว +1

    Requested runtime (Python-3.10.5) is not available for this stack (heroku-22).
    I tried updating Heroku CLI....
    changing buildpacks
    and different stacks.
    I'm stuck yet gain

    • @lioouedraogo2477
      @lioouedraogo2477 2 ปีที่แล้ว

      P at python should be lower case

    • @slicker1260
      @slicker1260 ปีที่แล้ว

      hey im thinking of using this tutorial i imagine the 2 year time gap might cause issues like it has with you , did you ever end up figuring it out with hosting django on heroku ? any other method u used or tutorial that worked ? thanks : )

  • @NgoniAlwin
    @NgoniAlwin ปีที่แล้ว

    You are the best

  • @MrAfroboy94
    @MrAfroboy94 3 ปีที่แล้ว +1

    You are really great!! Thank yo so much

  • @carolezug6672
    @carolezug6672 3 ปีที่แล้ว +1

    Thanks for the video. Very straightforward!
    I am having a Server Error (500) though. If I change debut to 'True', it works fine.
    Any ideas of what is wrong with my app, please?

    • @patricklionnel4073
      @patricklionnel4073 2 ปีที่แล้ว

      I got the same issue and Putting Debug to 'TRUE' solve it.... Please someone could explain me why???? I'm confused!!!!!!!
      Lot of documentation recomend to put it false!!!!

  • @quran-forAll
    @quran-forAll 2 ปีที่แล้ว

    Please how can i push(add) my updates to same project

  • @codingdre5041
    @codingdre5041 2 ปีที่แล้ว

    yo can you help me push my project to heroku?
    its giving me errors

  • @bahdev1324
    @bahdev1324 3 ปีที่แล้ว +1

    Tomi question here
    I'm confuse a little bit on how you push the project to heroku
    I saw you did git add . and git commit
    And later git push heroku master
    Is the command git push heroku master going to host the files on github?

    • @CodeWithTomi
      @CodeWithTomi  3 ปีที่แล้ว +2

      git add . is going to add all the files and folders in your project to the initialized repository
      git commit is for mainly leaving a message , but very important
      git push heroku master will host all your project files to the server, then your project is now deployed👍

    • @bahdev1324
      @bahdev1324 3 ปีที่แล้ว +1

      @@CodeWithTomi
      Okay Tomi
      Is there any possibility to host my project on heroku without hosting them on github?

    • @CodeWithTomi
      @CodeWithTomi  3 ปีที่แล้ว +2

      Yes, there are other options

    • @bahdev1324
      @bahdev1324 3 ปีที่แล้ว +1

      @@CodeWithTomi
      Thanks Dude
      I really appreciate...

  • @blesscheriyan2440
    @blesscheriyan2440 3 ปีที่แล้ว +1

    Bro.please upload how to host upcoming events in website at same time .v have to hosts 4 events....using Django

    • @CodeWithTomi
      @CodeWithTomi  3 ปีที่แล้ว

      Ok... I will have a look at that

    • @blesscheriyan2440
      @blesscheriyan2440 3 ปีที่แล้ว +1

      @@CodeWithTomi thanks so much bro....
      Please do it fastly.....i will still waiting for next videos this

  • @unnatisharma1261
    @unnatisharma1261 3 ปีที่แล้ว +2

    How to deploy django blog app
    Is this same?

  • @ayomidejayeola2369
    @ayomidejayeola2369 2 หลายเดือนก่อน

    What if you created your project already how do you go about it

  • @muhammadameerhamza8842
    @muhammadameerhamza8842 5 หลายเดือนก่อน

    (myenv) PS D:\Django Projects\Completed Projects\portfolio> heroku
    heroku : The term 'heroku' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
    path was included, verify that the path is correct and try again.
    At line:1 char:1
    + heroku
    + ~~~~~~
    + CategoryInfo : ObjectNotFound: (heroku:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    i am facing this error when i write the heroku in terminal

  • @disguisesanity
    @disguisesanity 3 ปีที่แล้ว

    Great Video, bro. But I got an error "remote rejected" it failed to push some refs

  • @buxdev576
    @buxdev576 2 ปีที่แล้ว

    i am getting an application error, i did every step but did i miss anything that most people did also?

  • @alifareeq228
    @alifareeq228 2 ปีที่แล้ว +1

    thanks alot mate

  • @MuhammadLab
    @MuhammadLab 3 ปีที่แล้ว +2

    👍🏻👍🏻

    • @CodeWithTomi
      @CodeWithTomi  3 ปีที่แล้ว +2

      Thanks for watching

    • @MuhammadLab
      @MuhammadLab 3 ปีที่แล้ว +2

      @@CodeWithTomi✌🏻 😊👌🏻

  • @muhammaddhimasekowiyono418
    @muhammaddhimasekowiyono418 3 วันที่ผ่านมา

    can this deployment open django admin?

  • @alfredoussivane8461
    @alfredoussivane8461 3 หลายเดือนก่อน

    hii, when i try heroku login it gives me error : spawn unknown code : unknown, can you help me

  • @Ronobuildstech
    @Ronobuildstech 3 ปีที่แล้ว +1

    RESPECT MAN!

  • @abdulhafeezlasisi7848
    @abdulhafeezlasisi7848 2 ปีที่แล้ว

    Please mine is getting a programming error.
    How do I fix this??

  • @kevincueva4419
    @kevincueva4419 2 ปีที่แล้ว

    genial amigo, gracias! saludos desde Colombia

  • @bahdev1324
    @bahdev1324 3 ปีที่แล้ว +1

    Thanks Tomi

  • @isharaudayangawimalaweera3642
    @isharaudayangawimalaweera3642 2 ปีที่แล้ว

    Thank you very much

  • @vdengineering2666
    @vdengineering2666 2 ปีที่แล้ว

    Thank you

  • @juhiesayyed
    @juhiesayyed ปีที่แล้ว

    shat shat naman apko
    🥲

  • @chideraonuh5943
    @chideraonuh5943 ปีที่แล้ว

    Very easy and well explained, but you did not say if we can create heroku apps for free or not. I can't continue right now because i have to pay for my domain name. Which honestly was not what I had planned or expected

  • @KYIM-jb8xi
    @KYIM-jb8xi 6 หลายเดือนก่อน

    thank you thank you thank you!!!!!!

  • @Filipkasic
    @Filipkasic ปีที่แล้ว

    heroku isn't free anymore and you got to enter credit card info to deploy an app

  • @kabahnelson
    @kabahnelson 3 ปีที่แล้ว

    My Nigerian man always having problem pronouncing H. like your channel

  • @poisson6673
    @poisson6673 3 ปีที่แล้ว +1

    👍

  • @gracedumle8408
    @gracedumle8408 หลายเดือนก่อน

    But heroku isn't free right

  • @universal4334
    @universal4334 3 ปีที่แล้ว

    How to get domain for that

  • @michaelejila6260
    @michaelejila6260 2 ปีที่แล้ว

    Tomide na you be this??

  • @jeanpaulrodriguezflores2398
    @jeanpaulrodriguezflores2398 2 ปีที่แล้ว

    🐐

  • @kaushiq847
    @kaushiq847 2 หลายเดือนก่อน

    is it still free?

  • @Nathan-zc1qs
    @Nathan-zc1qs 2 ปีที่แล้ว

    im getting ref erros on the last step

  • @codepractice401
    @codepractice401 2 ปีที่แล้ว

    it doesnt work for me

  • @xara999
    @xara999 2 ปีที่แล้ว

    Where is the code?

  • @JamesHikes
    @JamesHikes 3 ปีที่แล้ว +1

    YOU ARE AAMZMZAINZG

  • @aarspainting81
    @aarspainting81 ปีที่แล้ว

    wish me luck im gonna get on it