The Data Manager is responsible for the support portion of the platform. In the context of infrastructure, this includes the creation, management and delivery of Research Data Repositories. It uses a flask aplication with a relational database to CRUD metadata.
To run the API on your machine, use the start.sh script.
./start.shTo run the API on a container use the Docker-compose file provided in the repository.
cd dockerThe following Dockerfiles are available in this directory:
api: Dockerfile to load and configure the necessary environment for using the data manager apipostgres: Customized dockerfile for postgres configuration and API database initialization
To use these Dockerfiles together it is possible to use the docker-compose, for this, use the following command
$ docker-compose up -d --buildIf necessary, the .env file helps in editing the api's connection options with the database