#python #cPanel #noTerminal
It really is hard to deploy python django job in cPanel with out Terminal, This is how you can do it.
How to do it:
Very first, build a needs.txt of your task using pip freeze Better-than indication demands.txt
Now zip and upload the task into your hosting server/shared host and extract it
develop a python app from cPanel and use the application root as the exact same folder of the venture.
Cease the software
Now, employing cPanel put in needs.txt
then on the software root, there will be a passenger_wsgi.py file open up the file modify and import application from your undertaking wsgi eg. from myproject.wsgi import software
run the python application, it should be doing work. Fix the static by changing static dir to public_html and transferring the information to public_html
Thank you, hope this helps
why i dont have python icon in cpanel?
how to login cpanel ,,
how to create superuser via cpanel
Thank you for your helpful video. I m a newbie. just bought shared server from bluehost. There is no python in the software of its cpanel. How can I install python in the bluehost's cpanel?
Thanks!
when I run pip installer its shows pip old version error. how do I upgrade pip version without a terminal?
for me, setup python app icon is not present, how can i get that
Hi thanks for the tutorial, though in my own case I have django models that I have created and I am looking for a way to migrate it to the database I created on cpanel then if I try running pip install mysqlclient it is not working
Please do something on How to setup continuous deployment with git for this
503 service unavaible 🙁
i couldn't install mysqlclient in django3.0.7 on a shared hosting
Why are you using background music? Please don't use background music.
Thanks
Hi Omar, please can you tell me about configuring media file in cpanel. My site is working correctly but media file is not loading. I already updated details for media_root,media_url in settings and url.py. I know app and web server need to configure but somehow not able to find. Thanks
Which hosting service do you use?
bro my cpanel is showing python version only 2.7.18 and 3.7.8 , & my project is Django==3.0.5. What should i do ??
Hiii, actually i followed every step, but I'm not getting a message like its works after creating a python app. Please help me
i followed your steps but geeting error
Exception:
Traceback (most recent call last):
File "/home/p4mcwyo3v83s/virtualenv/rentoprojectHeroku-master/3.7/lib/python3.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/p4mcwyo3v83s/virtualenv/rentoprojectHeroku-master/3.7/lib/python3.7/site-packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/home/p4mcwyo3v83s/virtualenv/rentoprojectHeroku-master/3.7/lib/python3.7/site-packages/pip/req/req_set.py", line 784, in install
**kwargs
File "/home/p4mcwyo3v83s/virtualenv/rentoprojectHeroku-master/3.7/lib/python3.7/site-packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/p4mcwyo3v83s/virtualenv/rentoprojectHeroku-master/3.7/lib/python3.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/p4mcwyo3v83s/virtualenv/rentoprojectHeroku-master/3.7/lib/python3.7/site-packages/pip/wheel.py", line 347, in move_wheel_files
assert info_dir, "%s .dist-info directory not found" % req
AssertionError: cairocffi==1.2.0 .dist-info directory not found
You are using pip version 9.0.1, however version 21.0.1 is available.
You should consider upgrading via the 'pip install –upgrade pip' command.
my project python version is 3.8.5
css not work due to debug=true
Django admin isn't loading css.
Please help.