ResultsDB is a results store engine for (not only) Fedora QA tools. The API documentation can be found at <http://docs.resultsdb20.apiary.io/>.
First, clone the repository.
Then, setup a virtual environment for development:
$ sudo dnf install python-virtualenv python-pip $ virtualenv --system-site-packages env_resultsdb $ source env_resultsdb/bin/activate $ pip install -r requirements.txt
If you encounter any installation issues, it's possible that you don't have
gcc and necessary C development headers installed to compile C extensions
from PyPI. Either install those based on the error messages, or install
the necessary packages directly to your system. See
Install the project:
$ python setup.py develop
Initialize your database:
$ DEV=true ./init_db.sh
Run the server:
$ DEV=true python runapp.py
You can configure this app by copying
conf/setting.py and adjusting values as you see fit. It overrides default
You might want to use this tool together with libtaskotron. To use your own
ResultsDB server in libtaskotron, edit
set the following value::
You might also need to adjust
depending on your local settings.
You can run the test suite with the following command (with virtualenv active)::
If you're trying to deploy ResultsDB, you might find some helpful instructions in the Fedora infra docs.