aboutsummaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-01-13 18:34:54 +0100
committerneodarz <neodarz@neodarz.net>2019-01-13 18:34:54 +0100
commit07cc1fdc7e79468a6e8d9b53048712b652f8da84 (patch)
treebb668d7e82684d40972c078b089499e7e1919146 /config.py
parent6648b7f66836d630b5b3ef5399c4c0cf4fb6f65b (diff)
downloadkhanindexer-07cc1fdc7e79468a6e8d9b53048712b652f8da84.tar.xz
khanindexer-07cc1fdc7e79468a6e8d9b53048712b652f8da84.zip
Migrate to PostgreSQL
Diffstat (limited to 'config.py')
-rw-r--r--config.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.py b/config.py
index 58de78f..9df6ddc 100644
--- a/config.py
+++ b/config.py
@@ -2,4 +2,8 @@ from os import path
APP_DIR = path.dirname(__file__)
-DATABASE = '%s' % path.join(APP_DIR, 'khanindexer.db')
+DB = "khanindexer"
+DB_HOST = "127.0.0.1"
+DB_PORT = "5432"
+DB_USER = "root"
+DB_PASS = "root"