mkvirtualenv [venv-name] -p python3
pip install pip --upgrade
pip install -r requirements.txt
A custom setting system based on http://justcramer.com/2011/01/13/settings-in-django/ (Archived version)
This enable us to easily maintain multiple environments (e.g.: dev, stage, production, etc)
Environments can set by env var: DJANGO_DEPLOY_ENV (e.g.: export DJANGO_DEPLOY_ENV=prod
will load prod.py)
All configurations will be loaded from siteconfig/{env}.py heavely inheriting from siteconfig/defaults.py
- Rename project name (currently: 'compass') to the choosed one.
Little help:
find . -name '*compass*' | grep compass && grep 'compass' -riI . --exclude-dir=.git
-
Review configurations
-
Start working!