django-rest-framework/README

27 lines
728 B
Plaintext
Raw Normal View History

# To install django-rest-framework in a virtualenv environment...
2010-12-30 04:02:11 +03:00
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
2010-12-30 04:02:11 +03:00
# To run the tests...
2011-01-17 20:34:58 +03:00
cd testproject
export PYTHONPATH=..
python manage.py test djangorestframework
# 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
2011-01-17 20:34:58 +03:00
# To build the documentation...
pip install -r docs/requirements.txt # sphinx
sphinx-build -c docs -b html -d docs/build docs html