{"id":7021,"date":"2020-06-19T01:00:11","date_gmt":"2020-06-19T01:00:11","guid":{"rendered":"https:\/\/oxhosting.com\/blog\/2020\/06\/19\/how-to-run-python-3-6-3-7-django-undertaking-using-cpanel-shared-internet-hosting-without-having-terminal\/"},"modified":"2020-06-19T01:00:11","modified_gmt":"2020-06-19T01:00:11","slug":"how-to-run-python-3-6-3-7-django-undertaking-using-cpanel-shared-internet-hosting-without-having-terminal","status":"publish","type":"post","link":"https:\/\/oxhosting.com\/blog\/2020\/06\/19\/how-to-run-python-3-6-3-7-django-undertaking-using-cpanel-shared-internet-hosting-without-having-terminal\/","title":{"rendered":"How to run Python 3.6\/3.7 dJango undertaking using cPanel shared internet hosting | Without having Terminal"},"content":{"rendered":"<p><iframe loading=\"lazy\"  width=\"580\" height=\"385\" src=\"https:\/\/www.youtube.com\/embed\/Y1jJPVhanzU?rel=0&#038;cc_load_policy=1&#038;modestbranding=1\" frameborder=\"0\" allowfullscreen><\/iframe><br \/>\n<br \/>#python #cPanel #noTerminal<br \/>\nIt really is hard to deploy python django job in cPanel with out Terminal, This is how you can do it.<br \/>\nHow to do it:<br \/>\nVery first, build a needs.txt of your task using pip freeze Better-than indication demands.txt<br \/>\nNow zip and upload the task into your hosting server\/shared host and extract it<br \/>\ndevelop a python app from cPanel and use the application root as the exact same folder of the venture.<br \/>\nCease the software<br \/>\nNow, employing cPanel put in needs.txt<br \/>\nthen 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<br \/>\nrun 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 <\/p>\n<p>Thank you, hope this helps<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#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&#8230;<\/p>\n","protected":false},"author":157,"featured_media":7022,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[1849,1850,22,1835,1838,1840,78,1845,1844,1843,1839,1847,446,1842,1807,1841,1846,1528,1837,1848,63,229,1156,1836],"_links":{"self":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts\/7021"}],"collection":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/users\/157"}],"replies":[{"embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=7021"}],"version-history":[{"count":0,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts\/7021\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/media\/7022"}],"wp:attachment":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=7021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=7021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=7021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}