9 - How to Deploy Django Project To Heroku | Easiest Way! | 2024

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

КОМЕНТАРІ • 40

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

    Django_heroku library not working Solution:
    1. Install the library django-on_heroku.
    2. Import django_on_heroku in settings.py file and remove the django_heroku import.
    3. Replace django_heroku.settings(locals()) with: django_on_heroku.settings(locals())
    4. Finally, run pip freeze > requirements.txt to create a new requirements.txt file that contains django_on_heroku
    5. Redeploy your app to heroku

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

      Thank you very much for your answer.
      now i have this errow when i am in heruku
      -------------
      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for backports.zoneinfo
      Failed to build backports.zoneinfo
      ERROR: Could not build wheels for backports.zoneinfo, which is required to install pyproject.toml-based projects
      ! Push rejected, failed to compile Python app.
      ! push failed

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

      Can i see your courses?

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

    Dude, I love you xD. Me and my parther are gratefull. A big hug from Guadalajara.

  • @egemeneyuboglu7358
    @egemeneyuboglu7358 Рік тому +1

    Thank you so much man. I was trying for 1 week to deploy but actually ı need to watch just this video. Thanksss.

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

    Great man ... a "direct to the point" explanation :)

  • @pablotutsi9915
    @pablotutsi9915 2 роки тому +2

    This was very helpful man, thank you soo much

  • @SusanErendu
    @SusanErendu 6 місяців тому +1

    Please what if you have already hosted your Django project on GitHub before even installing Heroku?

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

      Hosted your Django project on GitHub? Can you explain further please

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

      @@the_proton_guy Im guessing he's referrng to using github pages?

  • @MustafaBR-l9i
    @MustafaBR-l9i 4 місяці тому +1

    it's need now payment way before createing app in heroku

  • @fifeoluwabunmi5959
    @fifeoluwabunmi5959 2 роки тому +2

    On point!!

  • @Alex-xi3bw
    @Alex-xi3bw Рік тому +1

    I love you. Subscribed

  • @lennoxcharles6092
    @lennoxcharles6092 Рік тому +1

    Thanks for this resource

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

    Thank i live in ouest Africa. i want to see your deploy about databases.

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

      Hello, you want to learn how to deploy a database in heroku?

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

    love this brother!

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

      Thank youu🥳 a sub to the channel will be helpful 🥳🥳

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

    Very good videos, thank you very much.
    ¿django_heroku library not working for me?
    can you help me

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

      Django_heroku library not working Solution:
      1. Install the library django-on_heroku.
      2. Import django_on_heroku in settings.py file and remove the django_heroku import.
      3. Replace django_heroku.settings(locals()) with: django_on_heroku.settings(locals())
      4. Finally, run pip freeze > requirements.txt to create a new requirements.txt file that contains django_on_heroku
      5. Redeploy your app to heroku

  • @reginaplankton2976
    @reginaplankton2976 2 роки тому +2

    Thank you bro

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

    Great

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

    Thank you so much!

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

    Very helpful

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

    you are explicit man. i love your channel. how can I get in contact with you?

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

      Thanks man🥳. You can send me a message on Instagram. My username is the_proton_guy

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

    Hey how can we create Heroku app for free? Is there any solution