In this video, I'll show you how to set up a virtual environment for our Django application and how to create our first project.
-----------------------------------------------------------------------------------------------
Commands used in the video (For Linux) :-
To create virtual environment
$ python3 -m venv env
To activate virtual environment
$ source env/bin/activate
To install django
$ pip install django
To create project
$ django-admin createproject mysite .
Note : type dot(.) at the end of the name of the project with space
To create application
$ django-admin createapp myapp
To activate the server
$ python manage.py runserver
-----------------------------------------------------------------------------------------------
Follow me on :-
Instagram : / stunninghub
Facebook : https://fb.me/stunninghub
Twitter : / stunninghub
Thank You !!
On this page of the site you can watch the video online Setting Up Django Environment | Python3 | Python with a duration of hours minute second in good quality, which was uploaded by the user Stunning Hub 29 May 2021, share the link with friends and acquaintances, this video has already been watched 593 times on youtube and it was liked by 13 viewers. Enjoy your viewing!