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
This commit is contained in:
parent
d7dae818d1
commit
8b86b7868f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue