summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2014-10-17 17:09:35 +0200
committeremkael <emkael@tlen.pl>2014-10-17 17:09:35 +0200
commit07aedcdea97c01c5f1a1f3bc8d9f60a8516b42bf (patch)
treee2c05f18bd7ea08deba890ef38a8a322b5bc4e82 /config
parentda87925da621f45ed72d8e3aa7b79d3d8eb9a0ca (diff)
* SQLite support + config examples
Diffstat (limited to 'config')
-rw-r--r--config/.gitignore1
-rw-r--r--config/db.json6
-rw-r--r--config/db.json.MYSQL-EXAMPLE7
-rw-r--r--config/db.json.SQLITE-EXAMPLE4
4 files changed, 12 insertions, 6 deletions
diff --git a/config/.gitignore b/config/.gitignore
new file mode 100644
index 0000000..58bd488
--- /dev/null
+++ b/config/.gitignore
@@ -0,0 +1 @@
+db.json
diff --git a/config/db.json b/config/db.json
deleted file mode 100644
index e283966..0000000
--- a/config/db.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "user": "USER",
- "pass": "PASS",
- "db": "DB",
- "host": "HOST"
-}
diff --git a/config/db.json.MYSQL-EXAMPLE b/config/db.json.MYSQL-EXAMPLE
new file mode 100644
index 0000000..15387cd
--- /dev/null
+++ b/config/db.json.MYSQL-EXAMPLE
@@ -0,0 +1,7 @@
+{
+ "engine": "mysql",
+ "user": "USER",
+ "pass": "PASS",
+ "db": "DATABASE",
+ "host": "HOST"
+}
diff --git a/config/db.json.SQLITE-EXAMPLE b/config/db.json.SQLITE-EXAMPLE
new file mode 100644
index 0000000..67d58b0
--- /dev/null
+++ b/config/db.json.SQLITE-EXAMPLE
@@ -0,0 +1,4 @@
+{
+ "engine": "sqlite",
+ "file": "elo.db"
+}