summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Klichowicz <emkael@tlen.pl>2023-09-30 15:19:48 +0200
committerMichał Klichowicz <emkael@tlen.pl>2023-09-30 15:19:48 +0200
commit463795c2b9ab02a0b0e92d29b3a78de565eb4c57 (patch)
tree5915f900feb607fb02bf88774c6eac92760252ee
parent64b391c525d1f56e2a5ab20a8dbad467e0031101 (diff)
Metadata, pip requirements and a sample config file
-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