add requirements in demo, update doc

This commit is contained in:
Mateusz Sikora 2014-10-16 13:31:25 +02:00
parent 81a96cfe19
commit 28da4dc7c8
3 changed files with 19 additions and 0 deletions

3
demo/requirements.pip Normal file
View File

@ -0,0 +1,3 @@
django==1.7
django-rest-auth==0.3.0
django-allauth==0.18.0

15
docs/demo.rst Normal file
View File

@ -0,0 +1,15 @@
Demo project
============
To run demo project (ideally in virtualenv):
.. code-block:: python
cd /tmp
git clone git@github.com:Tivix/django-rest-auth.git
cd django-rest-auth/demo/
pip install -r requirements.pip
python manage.py syncdb --settings=demo.settings --noinput
python manage.py runserver --settings=demo.settings
Now, go to ``http://127.0.0.1:8000/`` in your browser.

View File

@ -21,6 +21,7 @@ Contents
Installation <installation>
API endpoints <api_endpoints>
Configuration <configuration>
Demo project <demo>
Changelog <changelog>