- Create virtualenv
python -m venv [path to venv folder]
- Activate virtualenv
.\venv\Scripts\activate (for Windows)
source env/bin/activate (for Linux)
- Install package
pip install djangorestframework
pip install Django
- Migrate
python manage.py migrate
- Run django server
python manage.py runserver