Last active
June 27, 2018 06:28
-
-
Save josecaos/594ab6bbc79a4f3da6db1c85420f04cc to your computer and use it in GitHub Desktop.
python3 virtual enviroment
This file contains hidden or 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
| //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