README.md

uf-monitor

uf-monitor is a simple app to track the progress of the Upstream First initiative. It used to be a simple python script run via cron, but there was enough interest in it that I went ahead and made it into something closer to a proper application.

Getting Started

While this is a very niche application, here's the required info to run it.

Pre-requisites

uf-monitor requires:

  • sqlalchemy
  • hug (which is python3 only)
  • python-hawkey

There are three parts to this application: server.py (which pulls information from the upstreamfirst.fedorainfracloud.org API), the api_server.py (which is the interface to the information stored locally from server.py) and the index.html page (which is a simple HTML/CSS/JS page that queries the hug server via js).

To get started, populate the database with:

python server.py --create

Once the database has spawned, start the api_server script:

gunicorn api_server:__hug_wsgi__

This will start a hug API server listening on port 8000.

If you're running this locally, you can just load the index.html in your browser.