pip freeze > requirements.txt
python3 -m pip install virtualenv
pip3 install virtualenv # alternative way
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
pip freeze > requirements.txt
python3 -m pip install virtualenv
pip3 install virtualenv # alternative way
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver