great explanation, but please try not to call it d + jango, only in India we tend to do this mistake, d is silent, it should be pronounced jango, otherwise it's a great video, thank you :)
whenever i make a change to my files(html or any django file) it doesn't reflect the changes on the server, the files get updated but doesn't change anything unless i need to stop all the process of supervisor then i need to restart it back!
I already have a django project on my local machine. What I did was clone it on the linux server, but I can't see the url where I have the endpoints, nor the /admin when I try to log in, I get a 502 Bad Gateway error - nginx / 1.18.0 (ubuntu)
Hi Sir, I watched number of videos for deploying Django App serving with Gunicorn, Nginx and supervisor. This is the bestest, simplest & smoothest video I have watched till now. A dumb guy like me got point very clearly. Thanks a lot. Will explore your other videos too. Great Job Sir.
17:24 It is at this point in the video, sudo supervisor status still returns 'FATAL Exited too quickly.. (Yes, I removed space. ran reread and update commands) Then sudo supervsior status, only to see the same error 'FATAL' ValueError: '/home/ubuntu/django_deploy_to_ec2' is not a socket Advice?
I am getting 502 error from nginx 13 permission denied with gunicorn sock
I got 502 bad gateway error after linking nginx.
great explanation, but please try not to call it d + jango, only in India we tend to do this mistake, d is silent, it should be pronounced jango, otherwise it's a great video, thank you :)
whenever i make a change to my files(html or any django file) it doesn't reflect the changes on the server, the files get updated but doesn't change anything unless i need to stop all the process of supervisor then i need to restart it back!
I already have a django project on my local machine. What I did was clone it on the linux server, but I can't see the url where I have the endpoints, nor the /admin when I try to log in, I get a 502 Bad Gateway error - nginx / 1.18.0 (ubuntu)
how did you reslove the issue?
@@prajnabahuguna4438 I didn't :/
I'm havind the same problem.. :(
"../app.sock failed (2: No such file or directory) while connecting to upstream" should i set some permission ??
Facing this error : Bad Gateway error - nginx / 1.18.0 (ubuntu)
how did you reslove the issue?
Hi Sir,
I watched number of videos for deploying Django App serving with Gunicorn, Nginx and supervisor. This is the bestest, simplest & smoothest video I have watched till now. A dumb guy like me got point very clearly. Thanks a lot. Will explore your other videos too. Great Job Sir.
Great tutorial
It not work . show 502 Bad Gateway in finally !
hello, can you tell me what changes to be done if we also want to handle web socket request, like usinf django channels , redisChannel as backend?
nice video, worked fine for me.
17:24 It is at this point in the video, sudo supervisor status still returns 'FATAL Exited too quickly..
(Yes, I removed space. ran reread and update commands)
Then sudo supervsior status, only to see the same error 'FATAL'
ValueError: '/home/ubuntu/django_deploy_to_ec2' is not a socket
Advice?
[program:gunicorn]
environment=PATH="/home/ubuntu/env/bin",VIRTUAL_ENV="/home/ubuntu/env",PYTHONPATH="/home/ubuntu/env/lib/python3.8:/home/ubuntu/env/lib/python3.8/site-packages"
add this to the django.conf so it can read the python env