mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-28 20:13:43 +03:00
411cc298b3
With requirements file of django >= 1.7.0, change command of `syncdb` to `migrate` (`syncdb` is deprecated).
18 lines
545 B
ReStructuredText
18 lines
545 B
ReStructuredText
Demo project
|
|
============
|
|
|
|
The idea of creating demo project was to show how you can potentially use
|
|
django-rest-auth app with jQuery on frontend.
|
|
Do these steps to make it running (ideally in virtualenv).
|
|
|
|
.. code-block:: python
|
|
|
|
cd /tmp
|
|
git clone https://github.com/Tivix/django-rest-auth.git
|
|
cd django-rest-auth/demo/
|
|
pip install -r requirements.pip
|
|
python manage.py migrate --settings=demo.settings --noinput
|
|
python manage.py runserver --settings=demo.settings
|
|
|
|
Now, go to ``http://127.0.0.1:8000/`` in your browser.
|