How to Set Up Django on CyberPanel and OpenLiteSpeed

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 63

  • @videogamecreativeinc.702
    @videogamecreativeinc.702 3 года назад +3

    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.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Happy you found me! Thanks for subscribing and commenting. That will certainly make it easier for others to find my videos in the future :)

  • @TanjimReza
    @TanjimReza Год назад +4

    @TonyTeachesTech Hello!
    Seems like the process has been deprecated. It does not work anymore. Do you have any updated guide with lswsgi2.1?

  • @askhanzode
    @askhanzode Год назад

    Whenever I stuck, I come to this channel and bingo I find solutions.
    💐💐💐🎂🎂🥳🥳🥳
    You r doing great job dear.

  • @AkshayKaushik
    @AkshayKaushik 3 года назад

    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.

  • @mohamedmontaser6646
    @mohamedmontaser6646 2 года назад

    Finally my problem has been solved
    one month i attempt
    Thank you so much for the amazing explanation

  • @HaidarRezai4545
    @HaidarRezai4545 9 месяцев назад +1

    Hi, I have a tutorial about multiple Django projects on one server and I would appreciate it if you could complete a tutorial.

  • @AristonVillagePizza
    @AristonVillagePizza Год назад

    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?

  • @swapnag5143
    @swapnag5143 2 года назад

    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?

  • @mateoharmiss5830
    @mateoharmiss5830 Год назад

    what about if you have a chat and using ASGI websockets is there any panel that would support that in django ? thank you

  • @riteshsadhu5161
    @riteshsadhu5161 22 дня назад

    help me start my server, most of config files over internet are still not right

  • @yawarvoice
    @yawarvoice Год назад

    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

  • @roktimashraful2085
    @roktimashraful2085 2 года назад +1

    django home page working fine but static file are not loading and admin panel load without styling

    • @mohamedmontaser6646
      @mohamedmontaser6646 2 года назад

      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

    • @roktimashraful2085
      @roktimashraful2085 2 года назад

      @@mohamedmontaser6646 i did that but not working ..

  • @AnkitShahu-p5g
    @AnkitShahu-p5g 6 месяцев назад

    Please make video on cyberpanel with next js

  • @gomamay7881
    @gomamay7881 2 года назад +1

    Hi there, I followed your video but it does not load the static files. Thanks

  • @iKostanCom
    @iKostanCom Год назад +1

    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?

  • @tomahocbc963
    @tomahocbc963 7 месяцев назад

    please can you make video about hostinger vps?

  • @abdullathifmuhammadarifin9999
    @abdullathifmuhammadarifin9999 2 года назад

    hey my vhosts (Could not fetch current configuration. Error message:). How to fix it?

  • @samsh9809
    @samsh9809 2 года назад

    Hi Tony, would you please do similar tutorial for Flask on Cyberpanel too?

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      Flask is something I haven't worked with before, but if I do in the future I will consider it

  • @juliengioux762
    @juliengioux762 2 года назад

    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 ?

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      I would think that changing to the proper permissions would do the trick. I'm not sure

  • @ManpreetSingh-rs8xj
    @ManpreetSingh-rs8xj 3 года назад

    hey, my static files are not working.... collectstatic is working..... do i have to add static directory to some config file????????

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Please make sure the static directory exists and add this to your settings.py file:
      STATIC_ROOT = '/home/example.com/public/static/'

    • @aymaneeloirdiwi5617
      @aymaneeloirdiwi5617 Год назад

      @@TonyTeachesTech that is not working

  • @smitpatel8094
    @smitpatel8094 2 года назад

    Bro This will work with Flask also ?

  • @hanspereira8123
    @hanspereira8123 3 года назад

    perfect guy, you are the best!!! best regards from Brazil!!! P.S. could you create a video django with aapanel?

  • @ManpreetSingh-rs8xj
    @ManpreetSingh-rs8xj 3 года назад

    please reply asap i'm stuck with deploying on hostinger vps from 2-3 days...

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      I replied to your other comment. Sorry for the slow response

  • @namitatare7423
    @namitatare7423 3 года назад

    how do I upload my existing django application on cyberpanel or document root

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      ruclips.net/video/_JycUAoybCg/видео.html

  • @ProfessionalFilmmakers
    @ProfessionalFilmmakers 8 месяцев назад

    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.

  • @merloali
    @merloali 2 года назад

    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

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад +1

      Sorry, I haven't worked with Node js before

    • @merloali
      @merloali 2 года назад

      @@TonyTeachesTech no problem I I did work a nodejs project with nodejs 12 with nvm, reading full documentation haha, thank's anyway

  • @igribeiro_
    @igribeiro_ Год назад

    Not works to me, in cent Os

  • @imedabolkvadze8454
    @imedabolkvadze8454 3 года назад +1

    how speed up nginx server?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      You can try Nginx server cache ruclips.net/video/utdkGzmg1-Y/видео.html

    • @imedabolkvadze8454
      @imedabolkvadze8454 3 года назад

      @@TonyTeachesTech my default conf is empty, why prnt.sc/zc5q6g

  • @surupatel3315
    @surupatel3315 2 года назад

    Bro i got 500 internal server error how to fix it bro ?

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      You'll have to look at your error logs to see what's wrong

  • @videogamecreativeinc.702
    @videogamecreativeinc.702 3 года назад

    Actually there is one thing you left out. How to setup static files.

    • @videogamecreativeinc.702
      @videogamecreativeinc.702 3 года назад

      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!

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      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

  • @pitterparker1173
    @pitterparker1173 3 года назад

    Muito bom !!!

  • @sodaguy5835
    @sodaguy5835 3 года назад

    aapanel?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      I've never used aapanel

    • @kiranrs7055
      @kiranrs7055 2 года назад

      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?

  • @swapnag5143
    @swapnag5143 2 года назад

    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?

    • @aymaneeloirdiwi5617
      @aymaneeloirdiwi5617 Год назад

      same thing here, i am using ubuntu with openlitespeed, and everything seems to work just fine, but my static files are not working

  • @afaqahmad2289
    @afaqahmad2289 3 года назад

    Bro i got 500 internal server error how to fix it bro ?

    • @afaqahmad2289
      @afaqahmad2289 3 года назад

      I followed your all steps

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      Check your error log. Usually at /var/log/....

    • @afaqahmad2289
      @afaqahmad2289 3 года назад

      @@TonyTeachesTech ok i check

    • @igribeiro_
      @igribeiro_ Год назад

      @@TonyTeachesTech where in var/log