@_theskumar (https://saurabh-kumar.com)
Maintain seperation of installed libraries per project.
virtualenv venv # copy python and it's standard libraries to `venv` folder
source venv/bin/activate # Activate the environement
Python3 environment:
virtualenv
Protip: Setup an alias to create and activate virutalenv
alias sv=if [[ ! -d "venv" && ! -L "venv" ]] ; then; virtualenv venv; fi; source venv/bin/activate;
Further reading:
-
git flake8
cd code/cookeicutter_demo
pip install cookiecutter
cookiecutter .
cd code/1_hello_world
virtualenv venv; source venv/bin/activate
Run the project:
python hello.py runserver
python hello.py test
cookecutter https://github.com/Fueled/cookiecutter-django.git