Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 681 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 681 Bytes

MockILS

This is just meant for development and testing, not for production.

A fastapi implementation to mock parts of the ARAS REST API to test aras-py and to perform some item queries in context of the webarchive.

Installation

$ poetry install

Preparation

You need to create a directory data with the following abstract structure:

data:
- repositoryA
  - idn1
    - fileX.txt
    - fileY.gz
  - idn2
  - …
- repositoryB

You can create it with task testdata if you have task installed.

Run

Run it with task serve or poetry run fastapi dev mockils.py.