The Django server provides the REST API for the clients and stores the data.
For details see requirements.txt!
- Django
- Tastypie (
django-tastypie
) - OAuth2 (
django-oauth2-provider
) - Tastypie Swagger (
django-tastypie-swagger
) - Cron (
django_cron
)
- Tastypie (
-
Create a settings file
cp settings-sample.py settings.py
and modify theSECRET_KEY
in this file (it can't be empty) -
Install the requirements
pip install -r requirements.txt
-
Create database tables and a superuser
python manage.py syncdb
-
Run server
python manage.py runserver
Admin site: http://localhost:8000/admin/