ccsdb

Created 7 years ago
Maintained by pingou
The CentOS CI Status Database project
Members 1
Pierre-Yves Chibon committed 7 years ago

ccsdb

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

Get it running

Manually

  • 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