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.
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:)
very muchthanks brother.........almost struggled one night for this......but you really helped me.........thanks brother....wishing you a good luck and good life
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".
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.
@@sreenivasramakrishnan3328 try to connect ur heroku account with your github account in the deploy section of heroku dashboard. Then deploy the branch from their.
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.
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
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
! [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
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.
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
@@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.
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.
@@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"
@@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
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')
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...
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
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?
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.
I love you man! This video of yours helped me a lot! Thank you so much! That's it. Thank you very much!
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.
PROTECT THIS MAN AND PLEASE NEVER TAKE THIS VIDEO DOWN I LOVE YOU AS A BROTHER
Bro, you removed a whole lot of tension from my head, Thanks a lot bro.
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:)
Thank you Attreya! This particular video series of yours has helped me tremendously. You have vividly explained everything. :)
Glad I could help :)
very muchthanks brother.........almost struggled one night for this......but you really helped me.........thanks brother....wishing you a good luck and good life
thanks :)
Bro you just saved my life with this video. Thank you very much! I've never had a teacher as good as you.
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
You saved our final project, big up
I love you, best instrucion ever, India is the best IT in the world
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".
Glad I could help :)
@@buildwithpython i got an application error
bro thank you so much in my life first time i host a website i never forget u bro
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.
This is super useful. I found deploying on Heroku really complicated, but this made it easier. Thank you!
Thanks a lot Man! The instructions are quite simple and it was very much easier for me to deploy my Django app.
Best Django project Deployment video!
Hi, thanks, your video is very clear. And the text size is good so I don't have to squint :)
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
Glad I could help.
with database its much more complex, btw great video
I really appreciate all your efforts man. It helps people a lot.
Best django deployment video so far !!! Thanks a lot !!
Best clear explanation I ever had seen is yours
Thank you so much
:)
Thank you very much sir and its working ___love from Assam
thnaks for your help..
Best git explanation... Where tf you get that much confidence for that definition ?
@@sreenivasramakrishnan3328 try to connect ur heroku account with your github account in the deploy section of heroku dashboard. Then deploy the branch from their.
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.
Glad I could help
Amazing !! very good explanation ! Thank you!!
Finally,I stepped into the Right decision after watched so many videos. ThankYou @buildwithPython
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.
This video really helped me alot compared to other videos
Thanks man really nice video, I think now I can finally deploy that heroku website I had planned six months back!
@@sreenivasramakrishnan3328 .git is a directory not a file. Also you need to create the requirements.txt file.
love you man since it was my first web to host it helped me a lot
thank you soo much
love you so much man, this video is very helpful
best tutorial ever that I seen related to heroku that work Thanks
man, you make it way less complicated than most tutorials do. Thank u.
Bacha liya bhai! Thank you so much.
Thanks a Ton Man This was the most Friendly tutorial ever!
It does not make sense. You install pipenv and use virtualenv to activate.
Really brother..,You nailed it..,A lot of love and Respect.
@@sreenivasramakrishnan3328 configure your name and id then retry !
Thanks for this video, i deployed my first Django web sit
Thank you so much man!!!! you made it look so easy... keep it up!!!!!
Glad I could help
this is my first video and i learned alot from it thanks man :)
Create video, good explanation and step by step. Thank you bro
Thank you man it was very helpful tutoial.
Dude seriously you rock
The video is great, Thank you
Great video! Everything is clear and easy
:)
Thank You Manh.
I just wanted to know. What type of database do you use.? And is this provide free hosting?
this vedio help me a lot thanks
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
I love you man....finally ..Thanks a lot....
Thank You for video. Its really helpful.
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
! [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
Thank you very much sir. You solved my problem.
Great video!!!, Thank you for the support.
Thanks alot bro. Really appreciated!
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.
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
same error did u get answer? if yes please tell me
Thank you so much Bro...!!!!!
excellent explanation bro, Awsome, super......
am getting error heroku logs --tail plese tell me how to solve it
Thank you so much, bro.
Hope I will get the job now, They want me to deploy the project on ubuntu based server!
dude this was absolutely awesome!
@@sreenivasramakrishnan3328 what's the error?
@@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.
Thank you it worked successfully.
Thank You so much learnt something new
If i use selery to perform periodic functions, i need to run "celery -A appname worker" command. Will heruko do that for me?
Love you man
#nohomo
thank you so much. You are awsome
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.
i'm facing this error :
! [remote rejected] master -> master (pre-receive hook declined)
I am also facing same error. Did you solve it ?? If yes then please let me know...
No bro, still not solved
@@SaadAhmed-js5ew I have solved it bro, but now static files problem is remaining.
@@My_life_myDiscipline please let me know how you solved the bug?
@@SaadAhmed-js5ew Actually i followed many tutorials but i had same error. Now i followed this tutorial, then it's solved.
Awesome sir thank youuu sooo muchhhhh
new subscriber awesome video thank you so much but this part in 14:57 made my day hahaha ^^
Very much helpful .Thank you :)
@@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"
@@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
Awesome ...great way to deploy...
Glad I could help.
Thanks a lot it helped me :)
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')
Legend!
Tell us also how to use postgres db with django instead of sqlite db on heroku
thank you brother
Thank You!...✔✔✔
Друг, спасибо большое. Thank you very much
! [remote rejected] master -> master (pre-receive hook declined)
Please help me with this error!
Just type heroku buildpacks:set heroku/python
Also check if you cd into the django project file coz I made that mistake
Same error bro
@@devanshpatel38 is it resolved now?
@@aakashjana6225 i have not tried command that u wrote. I'll try asap. I did something. Now it's showing application error
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...
Hello, I am facing an issue.
There is a error , no such directory found tmp/.../package.json. How can I resolve this??.
bhai gazab......
thanku soo much brother...........................!
Thankyou so much 💝💝
can't believe that you misspelled gunicorn in the video description as well !
It is showing application error...check your logs for details....heroku logs --tail.........how to fix this
I'm facing the same issue too =(
hey , i sucessufully created virtual env using pipenv,,but after i closed terminal and opened it then i could not activate it again
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
thank u so much sir....
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
i am trying to deploy dynamic site but my database images are not shown heroku link how can i fix it
please help me
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?
Thanks bro! 😊
thanks a lot
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.
Keep posting
will deploying with heroku help to serve my project which uses asgi file and websockets?