From 8b86b7868ff73fd61c255f35738dffba6094f4fd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 24 Aug 2009 21:02:05 +0300 Subject: [PATCH] Updating README.Debian to reflect that the database has to be initialized through the client (Closes: #518675). bzr revid: p_christ@hol.gr-20090824180205-k8lx35yo0xz8uv6e --- debian/openerp-server.README.Debian | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/debian/openerp-server.README.Debian b/debian/openerp-server.README.Debian index 2e05f6d1a28..630c0fc9e7c 100644 --- a/debian/openerp-server.README.Debian +++ b/debian/openerp-server.README.Debian @@ -13,27 +13,23 @@ explanation how to achieve this (you need to execute all commands as root): the above syvinit script could also be named postgresql-VERSION (whereas 'VERSION' needs to be replace with a version number). - 1. Creating the database + 1. Creating the database user - # su - postgres -c "createdb -q --encoding=UNICODE openerp" - - 2. Creating the database user - - # su - postgres -c "createuser -q --createdb --adduser openerp" + # su - postgres -c "createuser -q --createdb --no-createrole --pwprompt openerp" Note: If you want to run the database as another user than 'openerp', you need to replace 'openerp' above with the user you want instead, and you need to adjust 'db_user = openerp' in /etc/openerp-server.conf too. - 4. Initializing the database - - # su - postgres -c "/usr/bin/openerp-server --init=all \ - --config=/etc/openerp-server.conf --stop-after-init" - - 5. Restarting openerp-server + 3. Restarting openerp-server # /etc/init.d/openerp-server restart + + 4. Initializing the database + + Now you can connect with OpenERP client to the database and initialize it. + Now, you're finish. Please be aware of the following things: * openerp-server has by default two accounts: