Django 2.1 - Hosting and deploying app on Heroku - 13/14

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

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

  • @dennielluissadian5026
    @dennielluissadian5026 5 ปีที่แล้ว +16

    I love you man! This video of yours helped me a lot! Thank you so much! That's it. Thank you very much!

  • @noopurp123
    @noopurp123 5 ปีที่แล้ว +2

    Heroku create will automatically add Heroku's remote to the git repository. You had to add it manually because you had removed the .git folder from the copied folder. Also, you had sqlite3 on your local machine, but Heroku uses PostgreSQL.

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

    PROTECT THIS MAN AND PLEASE NEVER TAKE THIS VIDEO DOWN I LOVE YOU AS A BROTHER

  • @O.nitin353
    @O.nitin353 4 ปีที่แล้ว +2

    Bro, you removed a whole lot of tension from my head, Thanks a lot bro.

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

    Really nice video man and you explained each step one by one, I was really frustrated and scratching my head from last one week to how should I deploy my Django app but your video and explanation worked for me. Thank you and take care:)

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

    Thank you Attreya! This particular video series of yours has helped me tremendously. You have vividly explained everything. :)

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

    very muchthanks brother.........almost struggled one night for this......but you really helped me.........thanks brother....wishing you a good luck and good life

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

    Bro you just saved my life with this video. Thank you very much! I've never had a teacher as good as you.

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

    Thanks a lot man for this Video, I can't explain how much trouble I faced while deploying my django app for months. Finally I deployed it. Thanks

  • @zakirdawood7845
    @zakirdawood7845 2 ปีที่แล้ว +1

    You saved our final project, big up

  • @noahdrisort2005
    @noahdrisort2005 5 ปีที่แล้ว +2

    I love you, best instrucion ever, India is the best IT in the world

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

    you saved me, i've been trying to push my site to heroku for days and all sort of errors were popping up in my screen, now my site is up and running so i had to thank you "thank you very much".

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

      Glad I could help :)

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

      @@buildwithpython i got an application error

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

    bro thank you so much in my life first time i host a website i never forget u bro

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

      Please reply me buddy
      Everything is running fine, but when i access my url then it shows an error
      Not Found
      The requested URL / was not found on this server.

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

    This is super useful. I found deploying on Heroku really complicated, but this made it easier. Thank you!

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

    Thanks a lot Man! The instructions are quite simple and it was very much easier for me to deploy my Django app.

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

    Best Django project Deployment video!

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

    Hi, thanks, your video is very clear. And the text size is good so I don't have to squint :)

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

    this video helped me a lot thank you very much... you have a good way to explain and transmit the information... cheer from an Egyptian man

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

    with database its much more complex, btw great video

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

    I really appreciate all your efforts man. It helps people a lot.

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

    Best django deployment video so far !!! Thanks a lot !!

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

    Best clear explanation I ever had seen is yours
    Thank you so much

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

    Thank you very much sir and its working ___love from Assam

  • @war-zone211
    @war-zone211 3 ปีที่แล้ว +2

    thnaks for your help..

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

    Best git explanation... Where tf you get that much confidence for that definition ?

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

      @@sreenivasramakrishnan3328 try to connect ur heroku account with your github account in the deploy section of heroku dashboard. Then deploy the branch from their.

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

    it worked with me Thank you!
    but there are several things to mention
    - if you are going to clone the project from github you need to install django_heruko library from the beginning to be able to run the project
    -"git push heroku master" didn't work with me instead I found this command and it worked with well
    "git push heroku HEAD:master".
    I was facing a big problem with deployment Thank you, you made my live easier.

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

    Amazing !! very good explanation ! Thank you!!

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

    Finally,I stepped into the Right decision after watched so many videos. ThankYou @buildwithPython

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

      Everything is running fine, but when i access my url then it shows an error
      Not Found
      The requested URL / was not found on this server.

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

    This video really helped me alot compared to other videos

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

    Thanks man really nice video, I think now I can finally deploy that heroku website I had planned six months back!

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

      @@sreenivasramakrishnan3328 .git is a directory not a file. Also you need to create the requirements.txt file.

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

    love you man since it was my first web to host it helped me a lot
    thank you soo much

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

    love you so much man, this video is very helpful

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

    best tutorial ever that I seen related to heroku that work Thanks

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

    man, you make it way less complicated than most tutorials do. Thank u.

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

    Bacha liya bhai! Thank you so much.

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

    Thanks a Ton Man This was the most Friendly tutorial ever!

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

    It does not make sense. You install pipenv and use virtualenv to activate.

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

    Really brother..,You nailed it..,A lot of love and Respect.

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

      @@sreenivasramakrishnan3328 configure your name and id then retry !

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

    Thanks for this video, i deployed my first Django web sit

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

    Thank you so much man!!!! you made it look so easy... keep it up!!!!!

  • @mr.sparky07
    @mr.sparky07 5 ปีที่แล้ว

    this is my first video and i learned alot from it thanks man :)

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

    Create video, good explanation and step by step. Thank you bro

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

    Thank you man it was very helpful tutoial.

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

    Dude seriously you rock

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

    The video is great, Thank you

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

    Great video! Everything is clear and easy

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

    Thank You Manh.
    I just wanted to know. What type of database do you use.? And is this provide free hosting?

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

    this vedio help me a lot thanks

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

    error: src refspec master does not match any
    error: failed to push some refs to 'git.heroku.com/dhruvweb.git'
    i am getting this error can anyone plz help

  • @shivu.sonwane4429
    @shivu.sonwane4429 4 ปีที่แล้ว

    I love you man....finally ..Thanks a lot....

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

    Thank You for video. Its really helpful.

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

    guys don't use .txt extension for procfile...save it with extension and remove later before uploading..and also note it is 'Procfile' ... P should be capital

  • @piyushchaudhary3213
    @piyushchaudhary3213 5 ปีที่แล้ว +2

    ! [remote rejected] master -> master (pre-receive hook declined)
    error: failed to push some refs to 'git.heroku.com/sencoolji.git' what may be the problem

  • @RohitKumar-ic8pi
    @RohitKumar-ic8pi 4 ปีที่แล้ว

    Thank you very much sir. You solved my problem.

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

    Great video!!!, Thank you for the support.

  • @GhostRider-uu6oh
    @GhostRider-uu6oh 4 ปีที่แล้ว

    Thanks alot bro. Really appreciated!

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

    I got an error saying ,django_heroku not found,but it is installed in the virtual machine ,when i try to install in the bash it shows some pg_config executable not found.

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

    I''m getting this error
    No default language could be detected for this app.
    remote: HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
    remote: See devcenter.heroku.com/articles/buildpacks
    remote:
    remote: ! Push failed
    remote: Verifying deploy...
    remote:
    remote: ! Push rejected to hemanthportfolio.
    remote:
    To git.heroku.com/hemanthportfolio.git
    ! [remote rejected] master -> master (pre-receive hook declined)
    error: failed to push some refs to 'git.heroku.com/hemanthportfolio.git'
    after solving this error(successfully deployed ) but after opening the website i got
    Application error ---> heroku logs --tail
    please help me out

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

      same error did u get answer? if yes please tell me

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

    Thank you so much Bro...!!!!!

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

    excellent explanation bro, Awsome, super......

  • @sunilverma4597
    @sunilverma4597 5 ปีที่แล้ว +3

    am getting error heroku logs --tail plese tell me how to solve it

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

    Thank you so much, bro.
    Hope I will get the job now, They want me to deploy the project on ubuntu based server!

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

    dude this was absolutely awesome!

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

      @@sreenivasramakrishnan3328 what's the error?

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

      @@sreenivasramakrishnan3328 Make sure
      1. You are not pushing some high-size files
      2. You have the proper permissions of both the repos
      3. Make a back-up of your local changes in another directory
      Try, 'git pull --rebase', if it doesn't work, google the error and go through the rabbit hole.

  • @ShivamPatel-ux1xb
    @ShivamPatel-ux1xb 4 ปีที่แล้ว

    Thank you it worked successfully.

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

    Thank You so much learnt something new

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

    If i use selery to perform periodic functions, i need to run "celery -A appname worker" command. Will heruko do that for me?

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

    Love you man

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

    thank you so much. You are awsome

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

    Thank you sir. But i think i would like to say is that if you had added how to disable and enable COLLECTSTATICS then it seems more complete video. But anyway it helps me.

  • @SaadAhmed-js5ew
    @SaadAhmed-js5ew 4 ปีที่แล้ว +4

    i'm facing this error :
    ! [remote rejected] master -> master (pre-receive hook declined)

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

      I am also facing same error. Did you solve it ?? If yes then please let me know...

    • @SaadAhmed-js5ew
      @SaadAhmed-js5ew 4 ปีที่แล้ว

      No bro, still not solved

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

      @@SaadAhmed-js5ew I have solved it bro, but now static files problem is remaining.

    • @SaadAhmed-js5ew
      @SaadAhmed-js5ew 4 ปีที่แล้ว

      @@My_life_myDiscipline please let me know how you solved the bug?

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

      @@SaadAhmed-js5ew Actually i followed many tutorials but i had same error. Now i followed this tutorial, then it's solved.

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

    Awesome sir thank youuu sooo muchhhhh

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

    new subscriber awesome video thank you so much but this part in 14:57 made my day hahaha ^^

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

    Very much helpful .Thank you :)

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

      @@sreenivasramakrishnan3328
      Definitely there is one mazor reason that I have encountered, Git has changed the default branch name to 'main' instead of 'master'. Because master concept comes in slavery.
      So try to push via "git push heroku main"

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

      @@sreenivasramakrishnan3328 You can try to understand the last line of error. Which should have some clue.
      If nothing helps try "git push -f origin master" ,here -f means forced

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

    Awesome ...great way to deploy...

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

    Thanks a lot it helped me :)

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

    Sir deployed but all the css and images from the website disappeared.Please suggest something.
    Sir staticfiles in my settings is -
    STATIC_URL = '/static/'
    STATICFILES_DIRS = [
    os.path.join(BASE_DIR,'static')
    ]
    STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')

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

    Legend!

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

    Tell us also how to use postgres db with django instead of sqlite db on heroku

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

    thank you brother

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

    Thank You!...✔✔✔

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

    Друг, спасибо большое. Thank you very much

  • @namoan1216
    @namoan1216 4 ปีที่แล้ว +3

    ! [remote rejected] master -> master (pre-receive hook declined)
    Please help me with this error!

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

      Just type heroku buildpacks:set heroku/python

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

      Also check if you cd into the django project file coz I made that mistake

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

      Same error bro

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

      @@devanshpatel38 is it resolved now?

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

      @@aakashjana6225 i have not tried command that u wrote. I'll try asap. I did something. Now it's showing application error

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

    Thank you so much. Everything works well. The only thing i have problems with is that my files(images) when i upload them they work and are seen on the page but then randomly disappears? Do you have any ideas what could it be? I use postgresql and i used this site on Digital ocean and didnt had any problems with it...

  • @RohitSingh-rv6ps
    @RohitSingh-rv6ps 4 ปีที่แล้ว

    Hello, I am facing an issue.
    There is a error , no such directory found tmp/.../package.json. How can I resolve this??.

  • @mohitkumar-in
    @mohitkumar-in 4 ปีที่แล้ว

    bhai gazab......

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

    thanku soo much brother...........................!

  • @AbhishekChauhan-wt1hb
    @AbhishekChauhan-wt1hb 4 ปีที่แล้ว

    Thankyou so much 💝💝

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

    can't believe that you misspelled gunicorn in the video description as well !

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

    It is showing application error...check your logs for details....heroku logs --tail.........how to fix this

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

      I'm facing the same issue too =(

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

    hey , i sucessufully created virtual env using pipenv,,but after i closed terminal and opened it then i could not activate it again

  • @AbhishekChauhan-wt1hb
    @AbhishekChauhan-wt1hb 4 ปีที่แล้ว

    Sir there is a problem in my site .. changes to my data gets dissapered within 1 dag ...like i have a notice section in my website so whenever i change notice via admin panel it gets changes but after some time ut reverts back

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

    thank u so much sir....

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

    The step migrations is same regardless of the database you are using?
    i have used postgresql as database do i need to make any changes

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

    i am trying to deploy dynamic site but my database images are not shown heroku link how can i fix it
    please help me

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

    Hii, thanks for the excellent video. Is there any size restriction while doing git push? exactly after 191.21 MB it stops with the error: the remote end hung up unexpectedly.
    How do I resolve this?

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

    Thanks bro! 😊

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

    thanks a lot

  • @weekend-gamer
    @weekend-gamer 3 ปีที่แล้ว

    I habe updated some of my files on local machine due to some error on heroku website and now I am trying to push it again but nothing happening can you help me how can I fix that bug that isn't there in localhost but in django heroku webapp ... I have searched it on net but could not find any answers.

  • @AjaySharma-jv6qn
    @AjaySharma-jv6qn 4 ปีที่แล้ว

    Keep posting

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

    will deploying with heroku help to serve my project which uses asgi file and websockets?