From 31c5167258c8b5f781e575b27b36ec1272be1eb0 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Wed, 17 Jun 2020 11:38:09 +0200 Subject: [PATCH] improve first start instructions --- README.md | 9 +++++++++ python/players.sqlite.init | 8 ++++++++ req.txt | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 python/players.sqlite.init diff --git a/README.md b/README.md index dfaeb7c..050746c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,15 @@ # What is "Skillbird" ? Skillbird is a framework around the python-Trueskill library, which can parse files of versus games to calculate a rating, matchmaking suggestions for future games or create predictions for the outcome of a game with certain team compositions. +# Usage + + apt install sqlite3 python3 python3-pip + python3 -m pip install -r req.txt + cd python/ + mkdir data/ + sqlite -init players.sqlite.init + ./init -h + # Web Interface The [Open-web-leaderboard](https://github.com/FAUSheppy/open-web-leaderboard) can be used for visualization. If you leave all settings at default, it should work out of the box. diff --git a/python/players.sqlite.init b/python/players.sqlite.init new file mode 100644 index 0000000..c0bb9ae --- /dev/null +++ b/python/players.sqlite.init @@ -0,0 +1,8 @@ +CREATE TABLE players( + id INTEGER, + name TEXT, + lastGame TEXT, + wins INTEGER, + mu INTEGER, + sigma INTEGER, + games INTEGER); diff --git a/req.txt b/req.txt index c933b02..2370514 100644 --- a/req.txt +++ b/req.txt @@ -1,4 +1,4 @@ flask -fuzzywuzzy trueskill sqlite3 +json