Skip to content

latest-release/tunga-api

 
 

Repository files navigation

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] (https://redis.io/)
  2. Install [WeazyPrint] (http://weasyprint.org/) (PDF generation)

Coding Guide

Development

  1. run these 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

About

Tunga API and Backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.8%
  • HTML 8.1%
  • CSS 0.1%