Setting Up Django Environment | Python3 | Python

Publicado em: 29 Maio 2021
no canal de: Stunning Hub
593
13

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 !!


Nesta página do site você pode assistir ao vídeo on-line Setting Up Django Environment | Python3 | Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Stunning Hub 29 Maio 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 593 vezes e gostou 13 espectadores. Boa visualização!