sudo apt-get update && sudo apt-get -y upgrade
install python3
sudo apt-get install python3
For virtualenv to install all files in the requirements.txt file. cd to the directory where requirements.txt is located activate your virtualenv
source env/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver