How To Deploy A Django Project To Heroku

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 110

  • @sophiatang3770
    @sophiatang3770 4 дня назад

    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.

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

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

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

  • @saadistan6550
    @saadistan6550 2 года назад +1

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

  • @akinrotimidaniel2325
    @akinrotimidaniel2325 2 года назад

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

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

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

  • @gracedumle8408
    @gracedumle8408 Месяц назад

    Thank you for this video

  • @bardack134
    @bardack134 Год назад +1

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

  • @hamidslice5693
    @hamidslice5693 3 года назад +1

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

  • @alonzolee2864
    @alonzolee2864 2 года назад +1

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

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

  • @brantechsyt6130
    @brantechsyt6130 3 года назад +3

    Nice video Tomi!!

  • @trevorphillips9731
    @trevorphillips9731 2 месяца назад

    Bro! This worked! THANK YOU!!

  • @jagadeeshmandala4097
    @jagadeeshmandala4097 3 года назад +1

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

  • @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:
      ruclips.net/video/XZoTukqekzY/видео.html

  • @samiorra405
    @samiorra405 11 месяцев назад

    Thank you very much, so simple and so efficient

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

  • @dembashow
    @dembashow 3 года назад +3

    Man, you are incredible. Thanks for those tuts

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

  • @theblackelephant
    @theblackelephant 2 года назад +1

    Man What? You are Mr easy of explanation

  • @haroonzuberi339
    @haroonzuberi339 Год назад

    Simple and easy steps. thank you

  • @quran-forAll
    @quran-forAll 2 года назад +1

    You always make everything clear and easier ♡

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

  • @aka_bearz
    @aka_bearz 3 года назад +1

    Thanks man, after 5 hours it works :'3

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

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

  • @CosmicNomadis22
    @CosmicNomadis22 3 года назад +2

    Thanks for the video man. Very clear & helpful.

  • @TinTechPodcast
    @TinTechPodcast 2 года назад

    Tomi, you are doing well

  • @quran-forAll
    @quran-forAll 2 года назад

    Good job bro

  • @ayomidejayeola2369
    @ayomidejayeola2369 2 месяца назад

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

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

  • @buxdev576
    @buxdev576 2 года назад

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

  • @disguisesanity
    @disguisesanity 3 года назад

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

  • @codingdre5041
    @codingdre5041 2 года назад

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

  • @NgoniAlwin
    @NgoniAlwin Год назад

    You are the best

  • @alfredoussivane8461
    @alfredoussivane8461 3 месяца назад

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

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

  • @preciousnwogu9980
    @preciousnwogu9980 2 года назад

    You are good in explanations... Thanks 👍

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

  • @unnatisharma1261
    @unnatisharma1261 3 года назад +2

    How to deploy django blog app
    Is this same?

  • @muhammaddhimasekowiyono418
    @muhammaddhimasekowiyono418 2 дня назад

    can this deployment open django admin?

  • @Filipkasic
    @Filipkasic Год назад

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

  • @MrAfroboy94
    @MrAfroboy94 3 года назад +1

    You are really great!! Thank yo so much

  • @satya5566
    @satya5566 3 года назад +1

    Thanks - you are awesome

  • @abdulhafeezlasisi7848
    @abdulhafeezlasisi7848 2 года назад

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

  • @alifareeq228
    @alifareeq228 2 года назад +1

    thanks alot mate

  • @MuhammadLab
    @MuhammadLab 3 года назад +2

    👍🏻👍🏻

    • @CodeWithTomi
      @CodeWithTomi  3 года назад +2

      Thanks for watching

    • @MuhammadLab
      @MuhammadLab 3 года назад +2

      @@CodeWithTomi✌🏻 😊👌🏻

  • @kabahnelson
    @kabahnelson 3 года назад

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

  • @isharaudayangawimalaweera3642
    @isharaudayangawimalaweera3642 2 года назад

    Thank you very much

  • @juhiesayyed
    @juhiesayyed Год назад

    shat shat naman apko
    🥲

  • @bahdev1324
    @bahdev1324 3 года назад +1

    Thanks Tomi

  • @vdengineering2666
    @vdengineering2666 2 года назад

    Thank you

  • @Ronobuildstech
    @Ronobuildstech 3 года назад +1

    RESPECT MAN!

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

  • @kevincueva4419
    @kevincueva4419 2 года назад

    genial amigo, gracias! saludos desde Colombia

  • @gracedumle8408
    @gracedumle8408 Месяц назад

    But heroku isn't free right

  • @KYIM-jb8xi
    @KYIM-jb8xi 6 месяцев назад

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

  • @universal4334
    @universal4334 3 года назад

    How to get domain for that

  • @michaelejila6260
    @michaelejila6260 2 года назад

    Tomide na you be this??

  • @poisson6673
    @poisson6673 3 года назад +1

    👍

  • @kaushiq847
    @kaushiq847 2 месяца назад

    is it still free?

  • @xara999
    @xara999 2 года назад

    Where is the code?

  • @codepractice401
    @codepractice401 2 года назад

    it doesnt work for me

  • @Nathan-zc1qs
    @Nathan-zc1qs 2 года назад

    im getting ref erros on the last step

  • @jeanpaulrodriguezflores2398
    @jeanpaulrodriguezflores2398 2 года назад

    🐐

  • @JamesHikes
    @JamesHikes 3 года назад +1

    YOU ARE AAMZMZAINZG

  • @aarspainting81
    @aarspainting81 Год назад

    wish me luck im gonna get on it