TODO merge with devicehub | devicehub adapted to trustchain oc1 orchestral (dpp branch)
This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Xavier Bustamante Talavera 8cd21e52a5 Add tags and mod. autosectionlabel 2018-06-19 22:49:42 +02:00
docs Add tags and mod. autosectionlabel 2018-06-19 22:49:42 +02:00
ereuse_devicehub Pass test_workbench_server_condensed 2018-06-19 18:38:42 +02:00
tests Pass test_workbench_server_condensed 2018-06-19 18:38:42 +02:00
.gitignore Initial commit 2018-04-10 17:06:06 +02:00
README.md Add Readme; bump to 0.2.0a2 2018-06-10 19:58:27 +02:00
setup.py Add inventory and missing fields 2018-06-12 16:50:05 +02:00

README.md

Devicehub

Devicehub is an IT Asset Management System focused in reusing devices, created under the project eReuse.org.

Our main objectives are:

  • To offer a common IT Asset Management for donors, receivers and IT professionals so they can manage devices and exchange them. This is, reusing and ultimately recycling.
  • To automatically recollect, analyse, process and share (controlling privacy) metadata about devices with other tools of the eReuse ecosystem to guarantee traceability, and to provide inputs for the indicators which measure circularity.
  • To highly integrate with existing IT Asset Management Systems.
  • To be decentralized.

Devicehub is built with Teal and Flask.

Installation

The requirements are:

  • Python 3.5 or higher.
  • PostgreSQL 9.6 or higher.

Install Devicehub with pip: pip3 install ereuse-devicehub.

Running

To use it create a python file with the following and call it app.py:

from ereuse_devicehub.devicehub import Devicehub
from ereuse_devicehub.config import DevicehubConfig
class MyConfig(DevicehubConfig):
    ORGANIZATION_NAME = 'My org'
    ORGANIZATION_TAX_ID = 'foo-bar'


app = Devicehub(MyConfig())

Crate a PostgreSQL database:

$ createdb dh-db1

And then execute, in the same directory where app.py is:

$ flask run

See the Flask quickstart for more info.