#2 Django tutorials | Setup

Published: 02 May 2019
on channel: Telusko
765,620
9.6k

Check out our courses:

Spring and Microservices Weekend Live Batch : https://bit.ly/spring-live-weekend
Coupon: TELUSKO10 (10% Discount)

Master Java Spring Development : https://bit.ly/java-spring-cloud

For More Queries WhatsApp or Call on : +919008963671

website : https://courses.telusko.com/

Instagram :   / navinreddyofficial  
Linkedin :   / navinreddy20  
TELUSKO Android App : https://bit.ly/TeluskoApp
Discord :   / discord  

Python Tutorials for beginner : https://bit.ly/2qfhUCp

In this lecture we are learn how to setup Django in our system:

-- install django
-- we know that which os we are using
-- you need a python setup too

setup python (if you don't have it)
-- download python from python.org
-- install python and remember that tick the box of add python to path

check python version
-- open cmd and type python --version
-- if you get the version then you are good to go

with instalation of python we also get pip
-- pip is a package manager for python
check pip version
-- open cmd and type pip --version
-- if you get the version then you are good to go

Now we ready to install django
-- pip is used to install django
check django version
-- open cmd and type django-admin --version
-- if you have not installed django then you will get an error
-- if you get the version then you are good to go

if not then it is time to install django
-- before that suppose we install django then it will be installed for whole system.
-- so we need to create a virtual environment for our project
-- virtual environment is a isolated environment for our project
-- it will not affect the other projects

create virtual environment wrapper
-- open cmd and type pip install virtualenvwrapper-win
-- it will install virtualenvwrapper-win in your system

create virtual environment
-- open cmd and type mkvirtualenv test
-- it will create a virtual environment named test
-- now we are ready to install django in our virtual environment

install django in virtual environment
-- open cmd and type pip install django
-- it will install django in our virtual environment

check django version
-- open cmd and type django-admin --version
-- if you get the version then you are good to go

create a folder
-- open cmd and type mkdir projects
-- it will create a folder named projects in your system
-- go in that folder by typing cd projects


create a django project
-- open cmd and type django-admin startproject telusko
-- before that we check the folder or not in project folder
-- now after enter the command it will create a folder named telusko in your system
-- in telusko there will be a file named manage.py

now we run our project in server
-- open cmd and type python manage.py runserver
Github :- https://github.com/navinreddy20/Python-

Java and Spring Framework For beginners with Spring Boot : - http://bit.ly/3LDMj8D

Java Tutorial for Beginners (2023) :- http://bit.ly/3yARVbN

Editing Machines & Monitors :
https://amzn.to/2HA6ra8
https://amzn.to/2VMBBPw
https://amzn.to/2RfKWgL
https://amzn.to/2Q665JW
https://amzn.to/2OUP21a.

Subscribe to our other channel:
Navin Reddy :    / @navinreddy  
Telusko Hindi :    / @teluskohindi  

Donation & Support:
Indian Payment : https://www.instamojo.com/@NavinReddy/
PayPal Id : navinreddy20
Patreon : navinreddy20


On this page of the site you can watch the video online #2 Django tutorials | Setup with a duration of hours minute second in good quality, which was uploaded by the user Telusko 02 May 2019, share the link with friends and acquaintances, this video has already been watched 765,620 times on youtube and it was liked by 9.6 thousand viewers. Enjoy your viewing!