Django REST Framework /

Filename Size Date modified Message
djangorestframework
docs
examples
278 B
45 B
323 B
1.3 KB
1.1 KB
69 B
1.3 KB
3.8 KB

# To install django-rest-framework in a virtualenv environment...

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, coverage

# To run the tests...

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...

pip install -r examples/requirements.txt # pygments, httplib2, markdown cd examples export PYTHONPATH=.. python manage.py syncdb python manage.py runserver

# To build the documentation...

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

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.