A simple Flask app which displays a scoreboard for benchmark results.
Find a file
2017-04-17 13:56:12 +03:00
src Fixing travis CI build error by providing standard config file 2017-04-17 13:45:14 +03:00
test Adding a page for /upload with instructions 2017-04-17 02:33:05 +03:00
.travis.yml Removing unsupported python versions from travis and updating readme 2017-04-17 13:56:12 +03:00
LICENSE.txt Initial commit 2017-04-11 23:23:47 +03:00
README.md Removing unsupported python versions from travis and updating readme 2017-04-17 13:56:12 +03:00
requirements.txt Adding MYSQL support 2017-04-17 02:18:18 +03:00
setup.py Updating setup.py 2017-04-17 02:37:18 +03:00

scoreboard-benchmark

Travis CI

This is a simple web app used for an university projects.

You will need Python 2.6+ or Python 3.3+ to run this app. Flask doesn't support Python 3.2.

It should provide a simple score board display for some benchmarking data which is gathered from another application.

Installing

To install and run the application, you must do the following:

Rename the config.lock.py to config.py, so you can safely modify the config.py and still have config.lock.py as a template. and update the file to match your configuration settings.

Then run:

pip install -r requirements.txt
python setup.py install
nohup python application.py &

Running Tests

In the root directory, run the following command:

python -m unittest

Posting data

You can post data using curl. There are no restrictions on whoever can post data.

curl -H "Content-Type: application/json" -X POST -d '{"gpu":"GPU DUMMY TEXT","cpu":"CPU DUMMY TEXT","log":"DETAILED LOG","score": 1}' http://localhost:5000/upload

Milestones:

  1. Make simple view which displays benchmarks. [Done 13 Apr 2017]
    • Improve design [Done]
    • Add about us page [?]
    • Try to use a mysql database [Done]
  2. Add user registration
  3. Perfect