Development install from GithubΒΆ
If you plan to make any changes to django-environments or want to be able to run the example project, you probably want to install django-environments directly from Github and set it up for local development:
$ cd ~/dev # or wherever
$ git clone https://github.com/yvandermeer/django-environments.git
$ cd django-environments
$ mkvirtualenv django-environments
$ pip install -r requirements/libs-dev.txt
This installs the bare requirements for local development and deploys django-environments itself using “easy_install develop”.
Note
The above example assumes you use virtualenvwrapper installed. To use plain virtualenv:
$ virtualenv ~/.virtualenvs/django-environments
$ source ~/.virtualenvs/django-environments/bin/activate
From here, you can do a number of things:
- Run the example project.
- Build the documentation locally.
- Use your checkout of django-environments for inclusion in other projects under development.