How To Deploy A Django Project To Heroku

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • In this video, you will learn how to easily deploy your django project to Heroku without having to face any problems.
    I hope you enjoy this video.
    Thanks for watching.
    Please subscribe.

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

  • @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 Месяц назад

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

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

    Man, you are incredible. Thanks for those tuts

  • @trevorphillips9731
    @trevorphillips9731 26 дней назад

    Bro! This worked! THANK YOU!!

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

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

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

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

    Thank you very much, so simple and so efficient

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

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

    Thanks for the video man. Very clear & helpful.

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

    You always make everything clear and easier ♡

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

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

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

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

    Man What? You are Mr easy of explanation

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

    Simple and easy steps. thank you

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

    Thanks man, after 5 hours it works :'3

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

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

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

    Thanks - you are awesome

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

    You are good in explanations... Thanks 👍

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

    Tomi, you are doing well

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

    You are really great!! Thank yo so much

  • @ayomidejayeola2369
    @ayomidejayeola2369 20 дней назад

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

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

    (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

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

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

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

    thanks alot mate

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

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

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

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

    You are the best

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

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

  • @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 Год назад

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

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

    How to deploy django blog app
    Is this same?

  • @carolezug6672
    @carolezug6672 2 года назад +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!!!!

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

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

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

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

    👍🏻👍🏻

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

      Thanks for watching

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

      @@CodeWithTomi✌🏻 😊👌🏻

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

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

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

    Good job bro

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

    Thank you very much

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

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

    Thanks Tomi

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

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

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

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

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

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

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

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

    Thank you

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

    genial amigo, gracias! saludos desde Colombia

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

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

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

    RESPECT MAN!

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

    shat shat naman apko
    🥲

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

    👍

  • @kaushiq847
    @kaushiq847 17 дней назад

    is it still free?

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

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

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

    How to get domain for that

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

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

    Tomide na you be this??

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

    it doesnt work for me

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

    🐐

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

    Where is the code?

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

    im getting ref erros on the last step

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

    YOU ARE AAMZMZAINZG

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

    wish me luck im gonna get on it