Django Heroku Deployment Tutorial and 5 Common Mistakes

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

ความคิดเห็น • 61

  • @arunrocks
    @arunrocks  5 ปีที่แล้ว +4

    Jump to any topic:
    - Overview 00:30
    - Cloud Hosting: IaaS and PaaS 01:37
    - Heroku: Pros and Cons :04:29
    - Deploy in 7 steps: 05:38
    - 5 Mistakes Most Beginners Make: 15:32
    - Closing 20:32

    • @chermarajm5771
      @chermarajm5771 5 ปีที่แล้ว

      Sir your video is amazing. Keep up good work.

  • @thedumbfounds767
    @thedumbfounds767 5 ปีที่แล้ว +1

    Very high-quality video. Well done!

    • @arunrocks
      @arunrocks  5 ปีที่แล้ว

      Thank you so much, Gabri!

    • @esportsnexus
      @esportsnexus 5 ปีที่แล้ว

      both of you uploads very few Django videos

    • @arunrocks
      @arunrocks  5 ปีที่แล้ว

      @@esportsnexus Thank you. There is a lot of research and work that goes into each video so that you get the maximum value for your time. I'm trying to speed up the process 😊

  • @guybrushskywalker
    @guybrushskywalker 4 ปีที่แล้ว

    That tutorial is much better than any other I saw due to you going through typical mistakes, like secret key or debug in production. Much respect

  • @nemachandragoswami3489
    @nemachandragoswami3489 3 ปีที่แล้ว

    Thankyou sir that's works for me

  • @blackeightx2952
    @blackeightx2952 4 ปีที่แล้ว

    Best video on Django to Heroku i could find! Good job My Dude! :D

  • @userlex8390
    @userlex8390 3 ปีที่แล้ว

    i'v watch a lot of videos on django deployment, this is the BEST one 👏

  • @mohdfayed138
    @mohdfayed138 4 ปีที่แล้ว +1

    great.. I enjoyed your company. Thanks alot

  • @minhson1411
    @minhson1411 3 ปีที่แล้ว

    thank you so much, i did it :)))

  • @userlex8390
    @userlex8390 3 ปีที่แล้ว

    wow awesome video, thanks alot 💯

  • @sosobel5220
    @sosobel5220 2 ปีที่แล้ว

    Please what is the best option "command" to track deoployment errors undr heroku django? for windows system.

  • @whitebird365
    @whitebird365 4 ปีที่แล้ว +2

    Please how to solve 'Server Error (500)' problem?

    • @ermiyaszeleke242
      @ermiyaszeleke242 4 ปีที่แล้ว

      set the debug to True in your settings file

  • @SUNYBOI
    @SUNYBOI 3 ปีที่แล้ว +1

    .......but how to fix application error....you are not talking about it.

  • @rahulpalve401
    @rahulpalve401 5 ปีที่แล้ว

    Great efforts!!

  • @adebayokehinde1580
    @adebayokehinde1580 4 ปีที่แล้ว

    very helpful tutorial Sir

  • @deancareers9639
    @deancareers9639 5 ปีที่แล้ว

    Very good video Sir.

  • @AjayKumar-lr6hm
    @AjayKumar-lr6hm 3 ปีที่แล้ว

    heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/"
    I'm getting this error for my django project how to solve this?\
    Thanks.

  • @hamidslice5693
    @hamidslice5693 3 ปีที่แล้ว

    I put
    web: gunicorn pages_project.wsgi --log-file -
    but it says
    gunicorn: error: argument --error-logfile/--log-file: expected one argument
    plzz help!!!!

  • @hamakhdir3144
    @hamakhdir3144 3 ปีที่แล้ว

    Sir when i change DEBUG to False and deploy dj project always i will get Server Error(500) please help me, thanks

  • @omkarparab3296
    @omkarparab3296 5 ปีที่แล้ว +1

    How do i fix this error --> at=error code=H14 desc="No web processes running" ?

    • @inaramara2416
      @inaramara2416 5 ปีที่แล้ว

      setup your Procfile correctly

    • @manavverSaif1990
      @manavverSaif1990 4 ปีที่แล้ว

      @@inaramara2416 how to set procfile correctly

  • @rajeshdhungel8002
    @rajeshdhungel8002 3 ปีที่แล้ว

    Hi Arun after successful deployment herokuapp, it says page not found . But django app works on local server. Heroku logs doesn't show significant error messages. Please help

  • @sujithchowdary1235
    @sujithchowdary1235 3 ปีที่แล้ว +1

    Getting application error

  • @sujithchowdary1235
    @sujithchowdary1235 3 ปีที่แล้ว

    How to write procfile
    Web : gunicorn not working

  • @veetee2078
    @veetee2078 4 ปีที่แล้ว

    Well done video !!! I got a simple question about pipenv. Do we have to create requirements.txt file now with pipenv ( pip freeze > requirements.txt) while doing preps for github? And how to deal now with pipenv after cloning the project from github (with venv -- pip install -r requirements.txt) ?

    • @its_kumar
      @its_kumar 3 ปีที่แล้ว +1

      If you are using pipenv you don't need requirements.txt file here pipfile works as requirements.txt
      otherwise you need it

  • @veetee2078
    @veetee2078 4 ปีที่แล้ว

    what is black . command at 7:23 ? Any specs for it ? Thanks

  • @muskangupta5873
    @muskangupta5873 3 ปีที่แล้ว

    I am getting this error at=error code=H10 desc="App crashed" dyno= connect= service= status=503 bytes= protocol=https

  • @rojomalobog
    @rojomalobog 4 ปีที่แล้ว

    Hello Arun, thanks a lot, your video is very insightful. i have a very beginner like question:
    While developing and deploying, which directory is being tracked in git? Heroku_test? or the folder for django? I am having issues with my app after deployment and i am not sure if i am deploying from the correct directory

    • @arunrocks
      @arunrocks  4 ปีที่แล้ว

      Actually it doesn't really matter. Heroku needs the Procfile at the project root that's all. Check out the sample project in the video description.

    • @amanjaiswal3261
      @amanjaiswal3261 3 ปีที่แล้ว

      @@arunrocks please sir provide any solution my media files are not loading deployed on heroku.

  • @FahadAli-ot5kn
    @FahadAli-ot5kn 4 ปีที่แล้ว

    Make a video about DEBUG=False because when we deploy this 404 error showing but static file are showing problem

  • @priyankamadhesh7836
    @priyankamadhesh7836 4 ปีที่แล้ว +1

    After deployed my Django project into heroku I'm getting application error

    • @balukapse109
      @balukapse109 4 ปีที่แล้ว

      I get same error how to solve?

  • @rupakale7688
    @rupakale7688 4 ปีที่แล้ว

    i follow the same process but logs saying build failed, what might be the problem sir?

  • @ranasarkar3252
    @ranasarkar3252 4 ปีที่แล้ว

    Brother after deploying django app database images deleted automatically any solve here?

  • @NeerajBhasin28
    @NeerajBhasin28 4 ปีที่แล้ว

    do we need to make debug=False in settings.py durign deployment?

    • @arunrocks
      @arunrocks  4 ปีที่แล้ว

      Yes, if you are deploying to the public.

  • @rishabhpachori5173
    @rishabhpachori5173 4 ปีที่แล้ว

    After django website deployed on heroku I save some images through admin panel but images got disappeared after some time..how to resolve this prblm???

    • @alimardanahmadov77
      @alimardanahmadov77 4 ปีที่แล้ว

      U have to use amazon s3 to store the static images because heroku automatically deletes static images after some time

  • @srvsharma1362
    @srvsharma1362 5 ปีที่แล้ว

    As settings.py contains database password and secret key will it be safer to push on git?

    • @arunrocks
      @arunrocks  4 ปีที่แล้ว

      No, you should consider picking it up from environment variables.

  • @deancareers9639
    @deancareers9639 5 ปีที่แล้ว

    Can i use Sqlite db in deployment too ?

    • @arunrocks
      @arunrocks  5 ปีที่แล้ว

      Not in Heroku specifically due to the ephemeral filesystem. Bad idea, in general.

  • @veetee2078
    @veetee2078 4 ปีที่แล้ว

    at 7:10 command black . . what is this ?

    • @arunrocks
      @arunrocks  4 ปีที่แล้ว

      It's a code formatter pypi.org/project/black/

  • @blood4bones366
    @blood4bones366 4 ปีที่แล้ว

    the secret key command didn't work

    • @arunrocks
      @arunrocks  4 ปีที่แล้ว +1

      I have added a comment to the gist, can you try that? gist.github.com/arocks/381efb0faf1e2a9a1ccc003277dfb4bb

  • @yarmik3d
    @yarmik3d 5 ปีที่แล้ว

    Вам не надоело херню про хероку делать, нобовские уроки для нубов?

  • @manavverSaif1990
    @manavverSaif1990 4 ปีที่แล้ว

    How do i fix this error --> at=error code=H14 desc="No web processes running" ?

    • @sunilaleti
      @sunilaleti 4 ปีที่แล้ว

      same but i had with streamlit

    • @nidhisingh3323
      @nidhisingh3323 3 ปีที่แล้ว

      Hey!! Were you able to solve it