2017-04-11 20:26:09 +00:00
|
|
|
# scoreboard-benchmark
|
|
|
|
|
2017-04-11 20:23:47 +00:00
|
|
|
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.
|
|
|
|
|
2017-04-13 14:01:38 +00:00
|
|
|
## Installing
|
|
|
|
|
|
|
|
First, rename the config.lock.py to config.py
|
2017-04-13 14:02:26 +00:00
|
|
|
and update the file to match your configuration settings.
|
2017-04-13 14:01:38 +00:00
|
|
|
|
|
|
|
Then run:
|
|
|
|
|
|
|
|
```
|
|
|
|
python3 setup.py install
|
|
|
|
nohup python3 application.py &
|
|
|
|
```
|
|
|
|
|
2017-04-13 05:49:05 +00:00
|
|
|
## Posting data
|
|
|
|
|
|
|
|
For now, you can post data using curl.
|
|
|
|
|
2017-04-13 06:04:51 +00:00
|
|
|
```
|
2017-04-13 05:49:05 +00:00
|
|
|
curl -H "Content-Type: application/json" -X POST -d '{"text":"Hello Darkness","score": 5000}' http://localhost:5000/upload
|
2017-04-13 06:05:33 +00:00
|
|
|
|
|
|
|
```
|
2017-04-13 05:49:05 +00:00
|
|
|
|
2017-04-11 20:23:47 +00:00
|
|
|
## Milestones:
|
|
|
|
|
2017-04-13 14:07:44 +00:00
|
|
|
1. Make simple view which displays benchmarks. [Done 13 Apr 2017]
|
|
|
|
* Improve design
|
|
|
|
* Add about us page
|
|
|
|
* Try to use a mysql database
|
2017-04-11 20:23:47 +00:00
|
|
|
2. Add user registration
|
|
|
|
3. Perfect
|