summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--mojzesz.json-SAMPLE27
-rw-r--r--requirements.txt2
3 files changed, 30 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index ec5d325..2745597 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
www/
config.json
*.pyc
+*.json
diff --git a/mojzesz.json-SAMPLE b/mojzesz.json-SAMPLE
new file mode 100644
index 0000000..5b3913e
--- /dev/null
+++ b/mojzesz.json-SAMPLE
@@ -0,0 +1,27 @@
+{
+ "mysql": {
+ "host": "localhost",
+ "port": 3306,
+ "database": "",
+ "user": "",
+ "password": ""
+ },
+ "source": {
+ "url": "",
+ "auth": {
+ "user": "",
+ "pass": ""
+ },
+ "headers": {
+ }
+ },
+ "settings": {
+ "pbn_round": 1,
+ "teamy_round": 1,
+ "teamy_segment": 1,
+ "fetch_lineups": 0,
+ "overwrite_scores": 0,
+ "info_messages": 0,
+ "job_interval": 60
+ }
+}
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..55af644
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,2 @@
+mysql-connector-python==2.1.7
+requests==2.27.1