Create manage.py commands to automate the provision and deployment of Sonador within the environment
An important part of the Sonador project is the reference development environment. It contains a set of configured resources for MinIO, Jupyter, Kafka, Orthanc, Sonador, and Airflow (the core pieces of the Oak-Tree medical imaging research platform) and docker-compose
scripts for their control.
Some of the more complex parts of orchestrating the platform (such as configuring a new Orthanc imaging server) require manual intervention. This defeats the purpose of having a reference development environment for onboarding new users. To that end, scripts are needed to help automate aspects of the Sonador/Orthanc configuration so that new users are able to begin working within the environment with just a:
docker-compose -f ... up
command.
Provisioning steps:
-
manage.py collectstatic
: copy static files to MinIO -
manage.py createsuperuser-env
: extension ofcreatesuperuser
that allows for the username, password, and API token to be injected from environment variables and command line parameters (sonador#16 (closed)) -
manage.py imaging-server add
: add a new Orthanc/Imaging server to Sonador (sonador#17 (closed))