How to run Python Django Project on cPanel Shared Hosting | Without Terminal | Bangla Tutorial.
Installation of Python Django in cPanel :
1.) Log in to your cPanel control panel.
2.) In the Software section, select “Setup Python App”
3.) Select the desired Python version from the drop-down list. …
3.) Select the path to install, and also select the domain on which you want to install the framework.
4.) Select your domain name from the Application URL drop-down list.
Click the “Setup” button, wait until the installation is complete.
It’s hard to deploy python Django project in cPanel without Terminal, Here’s how you can do it.
First, create a requirements.txt of your project.
Now zip and upload the project into your hosting server/shared host and extract it,
Now, using cPanel install requirements.txt
then on the application root, there will be a passenger_wsgi.py file open the file change and import application from your project wsgi
eg. “from mydjangoapp.wsgi import application ”
restart the python app, it should be working.
Fix the static by changing static dir to public_html and moving the files to public_html your domain root dir.
Follow Us On Social Media::
Like our Official Fb page::
Join Our Fb Group::
Ms IT Xpress
WhatsApp: +880 19 7556 8604
Phone: +880 16 2556 8604
Email: “[email protected]”.
Thanks For Watching=:) LIKE || COMMENT || SHARE || SUBSCRIB☺