Export plugins for RDMO. This exports the statistics of the projects and users in an instance.
Adds api endpoints /api/v1/project-statistics/
and /api/v1/user-statistics/
.
Install the plugins in your RDMO virtual environment using pip (directly from GitHub):
python -m pip install git+https://github.com/rdmorganiser/rdmo-plugins-statistics
Add the rdmo_plugins
to the INSTALLED_APPS
in config/settings/local.py
:
from . import INSTALLED_APPS
INSTALLED_APPS = ["rdmo_plugins_statistics", *INSTALLED_APPS]
After restarting RDMO, the exports should be usable.