Setting Up Django Environment | Python3 | Python

Veröffentlicht am: 29 Mai 2021
auf dem Kanal: 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 !!


Auf dieser Seite können Sie das Online-Video Setting Up Django Environment | Python3 | Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Stunning Hub 29 Mai 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 593 Mal angesehen und es wurde von 13 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!