/tunga-api

Tunga API and Backend

Primary LanguagePython

Tunga API and Backend Build Status

API and Backend for tunga.io

Installation

  1. run the following commands from project root (preferably in a virtualenv)
pip install -r requirements.txt
python manage.py migrate
python manage.py initial_tags
python manage.py initial_tunga_settings
python manage.py initial_tunga_integration_events
  1. Install redis

Coding Guide

Development

  1. run this commands from project root
python manage.py runserver
python manage.py rqworker default
python manage.py tunga_scheduler
  1. Access the API at http://127.0.0.1:8000/api/ and the backend at http://127.0.0.1:8000/admin/ in your browser

Testing

  1. run this command from project root
python manage.py test

Documentation

API Documentation is generated automatically at http://127.0.0.1:8000/api/docs/ using Django REST Swagger

Deployment