Create virtual environment and working directories for Django.
Let’s make a directory.
Go there
Installing a virtual environment
Now, activate virtual environment.
To check a successful activated virtual environment, execute this command to be sure:
We will see either 0 or a couple of them. Or we can run a next command on the Linux system.
And if the displayed path to Python is in our working directory, i.e. Project/.venv so everything is working.
How to create Django project
Install a package called Django.
Start a new project called Project1
Go to Project1
Accept all migrations.
How to start Django project / testing it
Now you can be able to start start testing(local) server.
If everything is done right, you shall see: