mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2025-06-29 09:03:04 +03:00
add requirements in demo, update doc
This commit is contained in:
parent
81a96cfe19
commit
28da4dc7c8
3
demo/requirements.pip
Normal file
3
demo/requirements.pip
Normal 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
15
docs/demo.rst
Normal 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.
|
|
@ -21,6 +21,7 @@ Contents
|
||||||
Installation <installation>
|
Installation <installation>
|
||||||
API endpoints <api_endpoints>
|
API endpoints <api_endpoints>
|
||||||
Configuration <configuration>
|
Configuration <configuration>
|
||||||
|
Demo project <demo>
|
||||||
Changelog <changelog>
|
Changelog <changelog>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user