install django in a virtual environment
pipenv install django
switch to the virtual environment terminal
pipenv shell
create a django project in the current directory
django-admin startproject project_name .
run the server (taking into account the settings in the settings.py file)
python manage.py runserver
By default, the server runs on port 8000. To change the port, specify it in the command
python manage.py runserver 8080
get the path of the python interpreter in the virtual environment
pipenv --venv