This is the Django backend for the Token Ibis application.
This code is currently in BETA
$ sudo apt update && sudo apt upgrade
$ sudo apt install graphviz-dev
$ sudo apt install python3.6-venv
Please ensure that your environment is set up to run python 3.6 or higher.
Follow this guide to install Postgres with a database called "ibis" and user called "ibis".
$ git submodule init
$ git submodule update
$ cd ibis-backend
$ python3.6 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ cd api
$ python manage.py test
`$ ./api/scripts/reset_test.sh
$ ./api/scripts/reset_blank.sh
$ cd ibis-backend/api
$ python manage.py createsuperuser
$ cd ibis-backend/api
$ python manage.py runserver
To explore the contents of the api, navigate to the 'api/' path (e.g. localhost:8000/api)
To produce a visualization of model, execute the following commands
$ cd ibis-backend/api
$ python manage.py graph_models -a -o ibis_models.png
This software is licensed under GNU GPL v3.0.