Deploy Django Project & Postgresql Database to Render for Free | 2024

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

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

  • @abrotheryourbrother3429
    @abrotheryourbrother3429 3 месяца назад +2

    Awesome job! Though I've never liked Django for a day but was mandated to develop a small app with it. Now you've given me a good reason to add Django to my tools. The deployment on Render was a breeze due to your tutorial. Thanks a lot brother. i truly appreciate your work. A new subscriber for you with brotherly love.

    • @the_proton_guy
      @the_proton_guy  3 месяца назад +1

      Aw, thank you for your kind words. I am glad I was able to help with your deployment and also giving you a good reason to stick with Django

  • @divineigbinoba4506
    @divineigbinoba4506 6 месяцев назад +1

    Dude, you're the best, super detailed. Thanks Boss, all the best.

  • @mydear9797
    @mydear9797 3 месяца назад +1

    Thank you so much. It's very helpful video.

  • @nessiekariuki3258
    @nessiekariuki3258 6 месяцев назад

    Hey, your video was of great help. I was able to deploy. Thanks!

  • @LearningSpectrums
    @LearningSpectrums 6 месяцев назад +1

    Thank you for this video. 🙏🏼
    I will like to ask, how can I move my local progresql data to render? If you have a video on that kindly point me to it. Thank you once again.

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

      You can’t move your database there but perhaps you can move the data. There’s a package called Django import export that can help to do this. Check it below:
      ruclips.net/video/DIr1wYjTM64/видео.htmlsi=qznJoFf_Dsp13pp1

    • @LearningSpectrums
      @LearningSpectrums 6 месяцев назад

      ​​@@the_proton_guyThank you so much you. I will try it out.🙏🏼

  • @harishragunathan4013
    @harishragunathan4013 3 месяца назад +1

    Bro how to add static files is it possible to add???

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

      Yes of course. You can add the static files to your project. You can learn how to setup static files for deployment with whitenoise below:
      ruclips.net/video/OeywgMArAGM/видео.htmlsi=-PJuRIlLgV2AL6ln

  • @gambomaster
    @gambomaster 6 месяцев назад

    Thanks 👍

  • @ashikca5158
    @ashikca5158 6 месяцев назад

    How to configure static files correctly using whitenoise

    • @the_proton_guy
      @the_proton_guy  6 месяцев назад +2

      Hi, I have a separate video where I talked about serving static files with whitenoise in production. You can check it out here:
      Serving Static Files in Production with whitenoise in Django
      ruclips.net/video/OeywgMArAGM/видео.html

    • @ashikca5158
      @ashikca5158 6 месяцев назад

      Thank u sir ​@@the_proton_guy

  • @Zero-nh4ke
    @Zero-nh4ke 3 месяца назад +1

    Render is pretty costly 😞

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

      Yes it is, they have free plans though

    • @Zero-nh4ke
      @Zero-nh4ke 3 месяца назад +1

      @@the_proton_guy no I’m talking about production

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

      @Zero-nh4ke true. Their cheapest plan is 7$/month I think

  • @nitinpilkhwal4986
    @nitinpilkhwal4986 3 месяца назад +1

    I am getting this error
    django.core.exceptions.ImproperlyConfigured: WSGI application 'finance_project.wsgi.application' could not be loaded; Error importing module.

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

      Make sure the your project folder bane is the name you pass into the start command

  • @adrianskelton9
    @adrianskelton9 2 месяца назад +1

    Thanks for the awesome tuturial. Unfortunately I keep getting this error on deployment...
    ==> Running 'gunicorn trashsundays.wsgi:application'
    bash: line 1: gunicorn: command not found.

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

      You have to add gunicorn to your requirement.txt file.
      You need to do this because render runs your Django project using gunicorn. After you add it to your requirements.txt file, push the change to GitHub and let it redeploy. The error should be gone after that