Skip to content

Getting Started

What is MIRA?

MIRA is a mediation service that allows to access research data stored in a FDO in form of an ARC, according to the recommendations of the MIAPPE standard via BrAPI endpoints. For this purpose, the ARC RO-Crate and the associated resources of the ARC are extracted and automatically transformed via an ISA-MIAPPE-BrAPI mapping so that they can be loaded from a BrAPI server.

MIRA Architecture
Architecture overview of MIRA.

Usage Guide

Before MIRA can be used, it should be checked whether the ARC fulfills all the requirements to be loaded successfully. All prerequisites are listed on the ARC Prerequisites page. A subsequent FAQ collection provides starting points for solving issues.

Docker Setup

Prerequisites

  • Docker>=27
  • Docker compose>=2.28

Configure docker compose setup

docker-compose.yml
1
2
3
4
5
6
7
services:
  mira:
    image: ghcr.io/ipk-bit/mira:latest
    ports:
      - 8000:8000
    volumes:
      - ./config.yml:/app/config.yml

Configure instance

./config.yml
format: 'arc'
data: <path-to-local-repo>
aai:
  - method: basic
    username: <username>
    password: <password>
server:
  contact: <contact-email>
  documentation: <documentation-url>
  location: <country>
  organization: 
    name: <organization-name>
    url: <organization-website>
  description: |
    <server-description>
  name: <server-name>

Start container

docker compose up -d

From Source

Prerequisities

  • Python>=3.12
  • Poetry>=1.8

Clone Repository

git clone https://github.com/IPK-BIT/mira.git

Install Dependencies

poetry install

Configure instance

./config.yml
format: 'arc'
data: <path-to-local-repo>
aai:
  - method: basic
    username: <username>
    password: <password>
server:
  contact: <contact-email>
  documentation: <documentation-url>
  location: <country>
  organization: 
    name: <organization-name>
    url: <organization-website>
  description: |
    <server-description>
  name: <server-name>

Start MIRA server

cd mira
litestar run 

How to Cite