From c6c27b1a9a26c7b9b919765678b9b1d53008813b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Michel=20Vourg=C3=A8re?= Date: Mon, 6 Jan 2014 14:38:25 +0100 Subject: [PATCH] Update postgres documentation --- doc/README.postgres | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/doc/README.postgres b/doc/README.postgres index 9e626da..f105061 100644 --- a/doc/README.postgres +++ b/doc/README.postgres @@ -1,6 +1,8 @@ This is the documentation if you want to use mailmerge (not needed) -Databases must be registered in the openoffice registry of user oomailing +First make sure you installed package openoffice.org-sdbc-postgresql on Debian, or on Windows, using Tools/Package Manager from the menu, then click on "Add" and select postgres-sdbc-0.7.5.zip that you've downloaded from http://dba.openoffice.org/drivers/postgresql/index.html + +Databases must be registered in the openoffice registry of user oomailing. The easy way to do that is to lunch openoffice as oomailing: @@ -13,13 +15,14 @@ user@host:~$ ssh -X oomaling@localhost Lunch openoffice oomailing@host:~$ soffice -If necessary, load sdbc-postgres driver, using Tools/Package Manager from the menu, then click on "Add" and select postgres-sdbc-0.7.5.zip that you've downloaded from http://dba.openoffice.org/drivers/postgresql/index.html -On modern distro, you might prefer to install the package: -host:~# apt-get install openoffice.org-sdbc-postgresql - You need to restart openoffice after that. Also restart oomailing server: host:~# /etc/init.d/oomailing restart -You might need to register databases. Launch openoffice again: +You need to register databases. +Database url should be something like "dbname=ngw host=localhost password=secretpassord" and username should be setup correctly +Save your file such as guideogm.odb + +Launch openoffice again: oomailing@host:~$ oowriter Then choose Edit/Select Database from the menu. Here you can add a database, such as /var/www/guideogm/static/guideogm.odb + -- 2.30.2