django-env is a Django app for managing project environment.
Installation
You have to consider where to place this package. Simplest way is to do:
sourcecode:: bash
pip install django-env
or using archive
sourcecode:: bash
tar xf django-env*
cd django-env*
python setup.py install
Warning:
But as django-env is created to managing project environment, you should place it at least "one level up". Good examples are `system site-packages` or just in your django project directory.
Usage:
Target of this project is automating in creating project environment.
This app gives you some additional `manage.py` commands:
env_create [--force]
create environment (and optionally do `env_update` - it depends on
DJANGO_ENV_AUTOUPDATE variable in `settings.py`)
env_update [-U|--upgrade]
install packages from DJANGO_ENV_REQUIREMENTS file to current environment
via `pip install -r`, or if you provide `--upgrade` it runs `pip install -U
-r`.
env_remove
simply deletes environments directory.
Requirements:
- Python
- Django
Comments not found