Python 3.7 how to run django on cpanel || django on shared hosting
Python 3.7 how to run django on cpanel || python 3.7 cpanel || django on cpanel shared hosting | how
run Django with python latest version with default database sqlite3 ::
https://youtu.be/q6KZWuANeVk
how to run python 3.7 #django on #cpanel
this is tutorial video
many peaple may have faced this problem now i am solved step by step
How to run django in Cpanel python 3.7 sqlite3 || django on shared hosting latest version python
https://www.youtube.com/watch?v=q6KZWuANeVk
ask anything join telegram ::
Blearningclub Telegram channel ::
https://t.me/blearningclub
first create python app
select environment and install django ( pip install django )
create django project ( django-admin startproject project )
edit passenger application to wsgi application
then in edit settings.py
select host name
then add media ,static file directory
like {
MEDIA_URL='/media/'
STATICFILES_DIRS=[BASE_DIR +"/assets",]
STATIC_ROOT='/home/***username***/public_html/static'
MEDIA_ROOT='/home/*** user name***/public_html/media'
}
then create assets in directory of manage.py
then create media folder in public html
then goto terminal:
command: python manage.py collectstatic
if you will see an error then change your data base to mysql
it is more easy to use
step :
first , create a database ,user and give privileges
change settings.py in django project
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': ' ',
'USER': ' ',
'PASSWORD': ' ',
'HOST': 'localhost',
}
}
the select python environment
in terminal : install mysqlclient
pip install mysqlclient
then type :: pip install collectstatic
and restart the server
django works successfully
more video:
how to run django on cpanel:
https://www.youtube.com/watch?v=EZSvsgemDJ0&t=1s
how to run your django project on shared hosting cpanel:
https://www.youtube.com/watch?v=A_kfuTsjS6I
how to get free ssl:
https://www.youtube.com/watch?v=6LYK5n1iay0&t=19s
why learn python , python animation:
https://www.youtube.com/watch?v=l8CRrA5yytE
music credits :
3am by Tokyo Music Walker https://soundcloud.com/user-356546060
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/3am-tokyo-music-walker
Music promoted by Audio Library https://youtu.be/pjh322DFnVo
download and use copyright free music && i also used in this video:
https://www.youtube.com/watch?v=pjh322DFnVo&feature=youtu.be
support us || LIKE || SUBSCRIBE || SHARE