A simple Flask app which displays a scoreboard for benchmark results.
Find a file
2017-04-16 00:30:50 +03:00
src Fixing pep8 reports 2017-04-16 00:25:01 +03:00
test Fixing pep8 reports 2017-04-16 00:25:01 +03:00
LICENSE.txt Initial commit 2017-04-11 23:23:47 +03:00
README.md Updating readme 2017-04-16 00:30:50 +03:00
requirements.txt Adding requirements 2017-04-16 00:00:35 +03:00
setup.py Adding flask-sqlalchemy requirement 2017-04-12 22:51:35 +03:00

scoreboard-benchmark

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

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:

First, rename the config.lock.py to config.py and update the file to match your configuration settings.

Then run:

python3 setup.py install
nohup python3 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
  2. Add user registration
  3. Perfect