pingou
Pierre-YvesChibonmaintainer
Author: | Pierre-Yves Chibon <pingou@pingoured.fr> |
---|
CCSDB is a small application that stores CI results published by ci.centos.org over fedmsg and exposes them using via simple API.
Homepage: https://pagure.io/ccsdb
Install the needed system libraries:
sudo dnf install git python2-virtualenv
Note
On Fedora 23 and earlier or on RHEL and derivative (CentOS, Scientific Linux) the package python2-virtualenv is named python-virtualenv
Retrieve the sources:
git clone https://pagure.io/ccsdb.git cd ccsdb
Install dependencies
create the virtualenv:
virtualenv ccsdb_enb source ./ccsdb_env/bin/activate
Install the dependencies:
pip install -r requirements.txt
Run it:
./runserver.py
To get some profiling information you can also run it as:
./runserver.py --profile
This will launch the application at http://127.0.0.1:5000
To run unit-tests:
Install the dependencies:
pip install -r tests_requirements.txt
Run it:
nosetests