aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README18
1 files changed, 14 insertions, 4 deletions
diff --git a/README b/README
index 3e5e2755..d74aa474 100644
--- a/README
+++ b/README
@@ -4,13 +4,18 @@ hg clone https://tomchristie@bitbucket.org/tomchristie/django-rest-framework
cd django-rest-framework/
virtualenv --no-site-packages --distribute --python=python2.6 env
source ./env/bin/activate
-pip install -r requirements.txt # django, pip
+pip install -r requirements.txt # django
# To run the tests...
-cd testproject
-export PYTHONPATH=..
-python manage.py test djangorestframework
+export PYTHONPATH=. # Ensure djangorestframework is on the PYTHONPATH
+python djangorestframework/runtests/runtests.py
+
+
+# To run the test coverage report...
+
+export PYTHONPATH=. # Ensure djangorestframework is on the PYTHONPATH
+python djangorestframework/runtests/runcoverage.py
# To run the examples...
@@ -24,3 +29,8 @@ python manage.py runserver
pip install -r docs/requirements.txt # sphinx
sphinx-build -c docs -b html -d docs/build docs html
+
+# To run the tests against the full set of supported configurations
+
+deactivate # Ensure we are not currently running in a virtualenv
+tox