From: Aaron Bentley Date: Wed, 12 Apr 2006 14:17:13 +0000 (-0400) Subject: Use relative path to database X-Git-Tag: 1.0.0~189 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=313a51b173bf7c9caadd1480911ec5809ae14501;p=be.git Use relative path to database --- diff --git a/.bzrignore b/.bzrignore index ee26a24..5ddfb0e 100644 --- a/.bzrignore +++ b/.bzrignore @@ -1,4 +1,4 @@ Bugs-Everywhere-Web/beweb/config.py ./build -Bugs-Everywhere-Web/database.sqlite +Bugs-Everywhere-Web/beweb/database.sqlite Bugs-Everywhere-Web/beweb/catwalk-session diff --git a/Bugs-Everywhere-Web/dev.cfg b/Bugs-Everywhere-Web/dev.cfg index 2d9433f..c8e1658 100644 --- a/Bugs-Everywhere-Web/dev.cfg +++ b/Bugs-Everywhere-Web/dev.cfg @@ -9,7 +9,7 @@ # pick the form for your database # sqlobject.dburi="postgres://username@hostname/databasename" # sqlobject.dburi="mysql://username:password@hostname:port/databasename" -sqlobject.dburi="sqlite:////home/abentley/be/be/Bugs-Everywhere-Web/database.sqlite" +sqlobject.dburi="sqlite://%(package_dir)s/database.sqlite" # if you are using a database or table type without transactions # (MySQL default, for example), you should turn off transactions