cverna / mdapi

Forked from mdapi 7 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:

* Create and activate the virtualenv

::

    python3 -m venv .venv
    source .venv/bin/activate

* Install the dependencies

::

    pip install -r requirements.txt

* Download the metadata

::

    ./mdapi-get_repo_md mdapi/mdapi.cfg

* Start the server

::

    gunicorn-3 mdapi:app

* Run the test suite
::

    tox

**Note:** This project is python3 only