How to run Django on cpanel || django cpanel || how to || tutorial
How to run Django on cpanel || django cpanel || how to || tutorial
how to run #django on #cpanel
this is tutorial video
many peaple may have faced this problem now i am solved step by step
setp by setp tutorial at blearningclub
Visit our main website:
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
then at last restart the server and run …….
music credits :
3am by Tokyo Music Walker
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream:
Music promoted by Audio Library
download and use copyright free music && i also used in this video:
email: [email protected]
thank you like subscribe share