Please consult The Django Collector Documentation to install and use Django Collector. H@x0rs read on...
This runs python setup.py develop
(more or less).
./build.sh
This uses nosetests
to run the unit tests, and enables the built-in
coverage report.
./tests.sh
sensible-browser ./coverage/index.html
-
Create a Debian/Ubuntu package:
debuild -uc -us -i -I sudo dpkg -i ../python-django-collector*.deb
-
Link the source code under
${HOME}/.local
:PYTHONPATH=${HOME}/.local/lib/python27:${PYTHONPATH} export PYTHONPATH pip install --user -e .
The layout used by Django Collector depends on that a particular
environment has been setup (see etc/common
). For this reason several
wrapper scripts have been provided to help when working on the
command-line. For example:
$ ./bin/python.sh
>>> from collector.models import Blob
>>> Blob.objects.all()
As tested on Ubuntu 11.04. See also Ubuntu Setup.
https://github.com/rentalita/django-collector
Django Collector is brought to you by [Rentalita] (http://rentalita.com/) under the MIT License.