pipenv example

Example 1: pipenv

pip install pipenv # install pipenv
pipenv install # create venv
pipenv shell # active shell (for running commands)
pipenv install --dev # install to dev
pipenv uninstall --all # uninstall all dependencies
pipenv --venv # the venv location

Example 2: install packages from pipfile

# suppose you have a pipfile where the dependencies are
pipenv shell
pipenv install

Example 3: pipenv

$ cd ~/Desktop
$ mkdir folder && cd folder
$ pipenv install django~=3.1.0
$ pipenv shell
(folder) $ django-admin.py startproject my_project .
(folder) $ python manage.py migrate
(folder) $ python manage.py runserver