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.pyand modify theSECRET_KEYin 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 runserverAdmin site: http://localhost:8000/admin/