karsten / mdapi

Forked from mdapi 4 years ago
Clone
README.rst

MDAPI

mdapi (for metadata API) is a simple API aiming at providing as fast as possible the information contained in the metadata files generated for RPM repositories. It is currently deployed at: https://apps.fedoraproject.org/mdapi

You can contribute to mdapi with bug reports or pull requests at: https://pagure.io/mdapi

Development

If you wish to set up a development instance of this project, follow these steps:

  • Install virtualenvwrapper
dnf install python-virtualenvwrapper
  • Create the virtualenv
mkvirtualenv mdapi -p python3
  • Install the dependencies
pip install -r requirements.txt
  • Download the metadata
mdapi-get_repo_md mdapi/default_config.py
  • Start the server
./mdapi-run

..note: This project is python3 only