MIRA is a software solution designed to deploy a BrAPI server on top of a FAIR Digital Object (FDO) that fulfills the MIAPPE requirements. It provides flexibility to run the server either as a Docker container or directly from the source code.
- Deploys a BrAPI server compliant with MIAPPE standards.
- Supports deployment via Docker or source code.
- Supports ARC RO-Crate format for input
- Ensure Docker is installed on your system.
- Pull the Docker image:
docker pull mira:latest
- Run the container:
docker run -p 8000:8000 mira:latest
- Clone the repository:
git clone https://github.com/IPK-BIT/mira.git cd mira
- Install dependencies using Poetry:
poetry install
- Add ./config.yml:
format: <input-format> data: '<path-to-data>' aai: - method: basic username: <username> password: <password> server: contact: <contact-email> documentation: <documentation-url> location: <country-name> organization: name: <organization-name> url: <organization-website> description: | <server-description> name: <server-name>
- Start the server:
cd mira litestar run
- Python 3.12 or higher
- Poetry
- Clone the repository:
git clone https://github.com/IPK-BIT/mira.git cd mira
- Install dependencies:
poetry install
- Add ./config.yml:
format: <input-format> data: '<path-to-data>' aai: - method: basic username: <username> password: <password> server: contact: <contact-email> documentation: <documentation-url> location: <country-name> organization: name: <organization-name> url: <organization-website> description: | <server-description> name: <server-name>
- Run development server:
cd mira poetry run litestar run --debug --reload
Once the server is running, you can access the BrAPI endpoint documentation at http://localhost:8000/schema
.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Submit a pull request with a detailed description of your changes.
This project is licensed under the MIT License. See the LICENSE
file for details.