2 months ago,It was very difficult with Virtual Environment. But I have done it after reading docs. Thanks for making video, this will save others time.This is only video on RUclips on this topic.
After following the steps, I am getting 503 error... How did you came up with all those configs for a vHost? Is there any specific instructions for that?
I've done the same, even corrected the python working error that you have in your python path in vhost. But still I'm unable to make it work on Ubuntu 20.04 openlitespeed cyberpanel... Everything is updated but not working
add the below to your settings. py STATIC_URL = '/static/' STATIC_ROOT = '/home/django.cyberpanel.net/public_html/static' change django. cyberpanel. net to your domain then run python manage.py collectstatic python manage.py migrate python manage.py createsuperuser
After updating the vhosts config I am getting 503 error... How did you came up with all those configs for a vHost? Is there any specific instructions for that?
the admin page seems not working... no css. If i try to login i have an error : "OperationalError at /admin/login/ attempt to write a readonly database". i've try to change permission, property etc but still not working... Can u help ?
Getting the starter page to appear is one thing, but I want to see someone build the Django project on their local server with REST API, a CSS Framework like Tailwind or Bootstrap, and a frontend framework llike React, then deploy it for production onto CyberPanel. Just getting the starter screen to appear doesn't mean anything. That's not a Django project.
Pleace, How to Set Up Node js on CyberPanel? pleace, i have a project and so i wish to deploy it in my cyberpanel only, pleace help me, i read the documentation but it is using regular version nodejs 6, and my project is using nodejs 12, using NVM i make works my project, but how can i redirect it to show in my custom domain creating a website? help me pleace
Actually I found it out. You'll want to install WhiteNoise via pip and configure it that way. Wouldn't hurt to go over that. If you go any look at the css it serves you'll see the link is dead, but luckily it has the css in line on the debug page so you really can't tell. Great video! Thanks for the help!
Sorry about that. Please make sure the static directory exists and add this to your settings.py file: STATIC_ROOT = '/home/example.com/public/static/' Then do python manage.py collectstatic
I also need to know how to deploy django with openlitespeed in aapanel. In my case, I've already a lot of projects running on php ,so I need to run some django projects along with that. Can you do a video about it?
Such a great channel why are your videos so hard to find? I looked for hours, and this is the video that actually helped me.
Happy you found me! Thanks for subscribing and commenting. That will certainly make it easier for others to find my videos in the future :)
@TonyTeachesTech Hello!
Seems like the process has been deprecated. It does not work anymore. Do you have any updated guide with lswsgi2.1?
Whenever I stuck, I come to this channel and bingo I find solutions.
💐💐💐🎂🎂🥳🥳🥳
You r doing great job dear.
Really happy to hear that :)
2 months ago,It was very difficult with Virtual Environment. But I have done it after reading docs.
Thanks for making video, this will save others time.This is only video on RUclips on this topic.
It's my pleasure. Glad it helped
Finally my problem has been solved
one month i attempt
Thank you so much for the amazing explanation
Hi, I have a tutorial about multiple Django projects on one server and I would appreciate it if you could complete a tutorial.
After following the steps, I am getting 503 error... How did you came up with all those configs for a vHost? Is there any specific instructions for that?
Hi Tony , nice video but my django app is loading fine but my static files are not loading and the database is coming as readonly?
what about if you have a chat and using ASGI websockets is there any panel that would support that in django ? thank you
help me start my server, most of config files over internet are still not right
I've done the same, even corrected the python working error that you have in your python path in vhost. But still I'm unable to make it work on Ubuntu 20.04 openlitespeed cyberpanel... Everything is updated but not working
django home page working fine but static file are not loading and admin panel load without styling
add the below to your settings. py
STATIC_URL = '/static/' STATIC_ROOT = '/home/django.cyberpanel.net/public_html/static'
change django. cyberpanel. net to your domain
then run
python manage.py collectstatic
python manage.py migrate python manage.py createsuperuser
@@mohamedmontaser6646 i did that but not working ..
Please make video on cyberpanel with next js
Hi there, I followed your video but it does not load the static files. Thanks
Did you find a solution?
After updating the vhosts config I am getting 503 error... How did you came up with all those configs for a vHost? Is there any specific instructions for that?
I am facing the same issue, did you found the solution ??
please can you make video about hostinger vps?
hey my vhosts (Could not fetch current configuration. Error message:). How to fix it?
Hi Tony, would you please do similar tutorial for Flask on Cyberpanel too?
Flask is something I haven't worked with before, but if I do in the future I will consider it
the admin page seems not working... no css. If i try to login i have an error : "OperationalError at /admin/login/ attempt to write a readonly database". i've try to change permission, property etc but still not working... Can u help ?
I would think that changing to the proper permissions would do the trick. I'm not sure
hey, my static files are not working.... collectstatic is working..... do i have to add static directory to some config file????????
Please make sure the static directory exists and add this to your settings.py file:
STATIC_ROOT = '/home/example.com/public/static/'
@@TonyTeachesTech that is not working
Bro This will work with Flask also ?
perfect guy, you are the best!!! best regards from Brazil!!! P.S. could you create a video django with aapanel?
Thanks! I'll add this to my list
please reply asap i'm stuck with deploying on hostinger vps from 2-3 days...
I replied to your other comment. Sorry for the slow response
how do I upload my existing django application on cyberpanel or document root
ruclips.net/video/_JycUAoybCg/видео.html
Getting the starter page to appear is one thing, but I want to see someone build the Django project on their local server with REST API, a CSS Framework like Tailwind or Bootstrap, and a frontend framework llike React, then deploy it for production onto CyberPanel. Just getting the starter screen to appear doesn't mean anything. That's not a Django project.
Pleace, How to Set Up Node js on CyberPanel? pleace, i have a project and so i wish to deploy it in my cyberpanel only, pleace help me, i read the documentation but it is using regular version nodejs 6, and my project is using nodejs 12, using NVM i make works my project, but how can i redirect it to show in my custom domain creating a website? help me pleace
Sorry, I haven't worked with Node js before
@@TonyTeachesTech no problem I I did work a nodejs project with nodejs 12 with nvm, reading full documentation haha, thank's anyway
Not works to me, in cent Os
how speed up nginx server?
You can try Nginx server cache ruclips.net/video/utdkGzmg1-Y/видео.html
@@TonyTeachesTech my default conf is empty, why prnt.sc/zc5q6g
Bro i got 500 internal server error how to fix it bro ?
You'll have to look at your error logs to see what's wrong
Actually there is one thing you left out. How to setup static files.
Actually I found it out. You'll want to install WhiteNoise via pip and configure it that way. Wouldn't hurt to go over that. If you go any look at the css it serves you'll see the link is dead, but luckily it has the css in line on the debug page so you really can't tell. Great video! Thanks for the help!
Sorry about that.
Please make sure the static directory exists and add this to your settings.py file:
STATIC_ROOT = '/home/example.com/public/static/'
Then do python manage.py collectstatic
Muito bom !!!
😊
aapanel?
I've never used aapanel
I also need to know how to deploy django with openlitespeed in aapanel. In my case, I've already a lot of projects running on php ,so I need to run some django projects along with that. Can you do a video about it?
Hi Tony , nice video but my django app is loading fine but my static files are not loading and the database is coming as readonly?
same thing here, i am using ubuntu with openlitespeed, and everything seems to work just fine, but my static files are not working
Bro i got 500 internal server error how to fix it bro ?
I followed your all steps
Check your error log. Usually at /var/log/....
@@TonyTeachesTech ok i check
@@TonyTeachesTech where in var/log