Created
September 30, 2019 05:12
-
-
Save moeinserpico/005d485e0c178cef397460b6b7a8ed2b to your computer and use it in GitHub Desktop.
Virtual Environment Setups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Virtual Environment | |
$sudo apt install python3-venv python3-pip | |
$python3 -m venv “/path to your location folder” | |
--activate the virtual environment | |
$ source <location folder>/bin/activate | |
--install latest django version | |
$pip install django | |
$pip install djangorestframework | |
---start django project and app. | |
$django-admin startproject backend | |
$ cd backend | |
$python manage.py startapp employee_app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment