summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-02 19:18:30 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-02 19:18:30 +0200
commitfb217ca2658c25f4df0a9b9b471ad85c608377a9 (patch)
tree7f6a34179a3824e3decab523b37d704f9ae9c213 /config.py
downloadtbt-fb217ca2658c25f4df0a9b9b471ad85c608377a9.tar.xz
initial dump, sorta broken
Diffstat (limited to 'config.py')
-rw-r--r--config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.py b/config.py
new file mode 100644
index 0000000..7160e5d
--- /dev/null
+++ b/config.py
@@ -0,0 +1,6 @@
+import os
+
+basedir = os.path.abspath(os.path.dirname(__file__))
+
+SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
+SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')