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

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

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

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

  • @mircagardenman7629
    @mircagardenman7629 18 дней назад

    Thank you very much for you work... i managed to deploy myself.

  • @pablotutsi9915
    @pablotutsi9915 2 года назад +2

    This was very helpful man, thank you soo much

  • @fifeoluwabunmi5959
    @fifeoluwabunmi5959 2 года назад +2

    On point!!

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

    love this brother!

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

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

  • @Alex-xi3bw
    @Alex-xi3bw Год назад +1

    I love you. Subscribed

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

    Thanks for this resource

  • @SusanErendu
    @SusanErendu 7 месяцев назад +1

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

    • @the_proton_guy
      @the_proton_guy  7 месяцев назад

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

    • @Drizzytunas
      @Drizzytunas 4 месяца назад

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

  • @shubhangkarsaha2457
    @shubhangkarsaha2457 6 дней назад +1

    satisfied.

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

    Great

  • @reginaplankton2976
    @reginaplankton2976 2 года назад +2

    Thank you bro

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

  • @MustafaBR-l9i
    @MustafaBR-l9i 6 месяцев назад +1

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

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

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

    Thank you so much!

  • @SusanErendu
    @SusanErendu 7 месяцев назад

    Very helpful

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

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

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

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

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

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