From cca91366b92cc784ab388b3b363b69790a62c818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nut=CC=A6iu?= Date: Sat, 15 Apr 2017 23:59:36 +0300 Subject: [PATCH] Updating README page --- README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 08494f2..1b38f0e 100644 --- a/README.md +++ b/README.md @@ -7,29 +7,39 @@ 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: -``` +```bash python3 setup.py install nohup python3 application.py & ``` +#####Running Tests + +In the root directory, run the following command: + +```bash +python -m unittest +``` + ## Posting data -For now, you can post data using curl. +You can post data using curl. There are no restrictions on whoever can post data. -``` +```bash 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 - * Add about us page + * Improve design [Done] + * Add about us page [?] * Try to use a mysql database 2. Add user registration 3. Perfect