From 69c84488c3e1cd8fe4817c07db5a233658bb95e5c94a7b04b6ce4a878ffa9938 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 19 Dec 2017 09:57:43 +0000 Subject: [PATCH] Accepting request 557699 from Application:ERP:Tryton:Factory Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/557699 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuhealth?expand=0&rev=22 --- GNUHealth.README.SUSE | 48 +++++++++++++++++++++---------------------- gnuhealth.changes | 5 +++++ 2 files changed, 29 insertions(+), 24 deletions(-) diff --git a/GNUHealth.README.SUSE b/GNUHealth.README.SUSE index a5fe23e..751c87a 100644 --- a/GNUHealth.README.SUSE +++ b/GNUHealth.README.SUSE @@ -23,35 +23,20 @@ to Save your input. This will make sure that Tryton/GNUHealth server can connect to the database -3) Create a role for 'tryton' in the database (sill as user postgres) +3) Create a role for 'tryton' in the database (still as user postgres) > psql -c "CREATE USER tryton WITH CREATEDB;" -4) exit as user postgres and restart postgres +4) Creating the database: +> psql -c "createdb mydb --encoding='UTF-8' --owner=tryton;" + +5) exit as user postgres and restart postgres > exit > systemctl restart postgresql -5) start gnuhealth/trytond: -> systemctl start gnuhealth - -6) Install the tryton client: -> zypper in tryton - -7) Open the tryton client: -> tryton -go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost --> you should now see a selection of available databases - -Note: From Tryton Release 4.2 onwards it is not possible anymore to create databases -from the Frontend. You need to do this manually - -8) Creating the database: -> su - postgres -c "createdb mydb --encoding='UTF-8' --owner=tryton" - Note: The owner of the database should be the same user, as under which the -tryton server runs (default:tryton) Enter a name for the database -(here as default: mydb). +tryton server runs (default:tryton) -9) Initializing the database: +6) Initializing the database: Log in as user tryton: > sudo su tryton -s /bin/bash @@ -59,12 +44,27 @@ Log in as user tryton: Note: Use the database name you chose in the previous step (here as default: mydb). You will be asked for the admin password for this database. -For the first login, log in to the newly initialized database with user admin and password as set during initialization. +For the first login, log in to the newly initialized database with user 'admin' and password as set during initialization. -As result you will have a bare Tryton database with the base modules installed. +As result you will have a bare GNU Health database with the base modules installed. + +7) Start the Gnuhealth-Server: +> systemctl start gnuhealth DONE. +You may want to install a Client locally: + +8) Install the tryton client: +> zypper in tryton + +9) Open the tryton client: +> tryton +go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost +-> you should now see a selection of available databases + +DONE. (now really) + Upgrade ------- diff --git a/gnuhealth.changes b/gnuhealth.changes index 3455b84..fb4c9bb 100644 --- a/gnuhealth.changes +++ b/gnuhealth.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 9 18:17:59 UTC 2017 - axel.braun@gmx.de + +- documentation updated + ------------------------------------------------------------------- Wed Dec 6 16:30:12 UTC 2017 - axel.braun@gmx.de