Skip to content

Instantly share code, notes, and snippets.

@moeinserpico
Created September 30, 2019 05:12
Show Gist options
  • Save moeinserpico/005d485e0c178cef397460b6b7a8ed2b to your computer and use it in GitHub Desktop.
Save moeinserpico/005d485e0c178cef397460b6b7a8ed2b to your computer and use it in GitHub Desktop.
Virtual Environment Setups
--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