python3 -m venv /path-to-venv-folder
source /path-to-venv-folder/bin/activate
for windows. path-to-venv-folder/Scripts/activate
If everything was done correctly, you should be able to see the next message in the git bash terminal:pip install Django
After this step, you should have the Django library in your lib folder in Virtual Environment.
To create a Django project in git bash, write this:
Make sure to do this outside of your venv folder!
django-admin startproject projectname
This command will create a Django project directory.
python manage.py runserver
Before starting your server, you should make migrations.
python manage.py migrate
Then you can run the server!
python manage.py runserver
Finally, you should see the basic Django front page if everything was done correctly.