Skip to content

Instantly share code, notes, and snippets.

@josecaos
Last active June 27, 2018 06:28
Show Gist options
  • Select an option

  • Save josecaos/594ab6bbc79a4f3da6db1c85420f04cc to your computer and use it in GitHub Desktop.

Select an option

Save josecaos/594ab6bbc79a4f3da6db1c85420f04cc to your computer and use it in GitHub Desktop.
python3 virtual enviroment
//Comand-line: Crea el ambiente de trabajo para localizar las dependencias del proyecto y seleccionar la version de python3
//default method
virtualenv -p python3 envname
//recomended method
python3 -m venv venvname
//start enviroment linux
source env/bin/activate
//Instala dependencias para api
pip install django
pip install djangorestframework
pip install pygments # We'll be using this for the code highlightin
//Inicia
django-admin.py startproject projectname
cd projectname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment