From 0087ad1e0824b4b1c49ce1468bfbb2e492ac7992 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 29 Oct 2014 10:22:36 -0400 Subject: Add test to check a real database (pgsql) works Change config template to e able to set up ipsilon with an extrenal database. For the easy install the database server must have 3 datbases configured, and named exactly: admincondif, userprefs, transactions If different names are required manual instalation will be necessary. Database URLs (including credentials) can be set using the new option named --database-url Signed-off-by: Simo Sorce Reviewed-by: Patrick Uiterwijk --- templates/install/ipsilon.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/install/ipsilon.conf b/templates/install/ipsilon.conf index 83b9704..2e402a3 100644 --- a/templates/install/ipsilon.conf +++ b/templates/install/ipsilon.conf @@ -5,9 +5,9 @@ template_dir = "templates" log.screen = ${debugging} base.mount = "/${instance}" base.dir = "${staticdir}" -admin.config.db = "${datadir}/adminconfig.sqlite" -user.prefs.db = "${datadir}/userprefs.sqlite" -transactions.db = "${datadir}/transactions.sqlite" +admin.config.db = "${admindb}" +user.prefs.db = "${usersdb}" +transactions.db = "${transdb}" tools.sessions.on = True tools.sessions.name = "${instance}_ipsilon_session_id" -- cgit