Hello community, here is the log from the commit of package gnuhealth for openSUSE:Factory checked in at 2017-12-19 10:57:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnuhealth (Old) and /work/SRC/openSUSE:Factory/.gnuhealth.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnuhealth" Tue Dec 19 10:57:43 2017 rev:22 rq:557699 version:3.2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/gnuhealth/gnuhealth.changes 2017-12-08 12:59:52.088310913 +0100 +++ /work/SRC/openSUSE:Factory/.gnuhealth.new/gnuhealth.changes 2017-12-19 10:57:45.643455385 +0100 @@ -1,0 +2,5 @@ +Sat Dec 9 18:17:59 UTC 2017 - axel.br...@gmx.de + +- documentation updated + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ GNUHealth.README.SUSE ++++++ --- /var/tmp/diff_new_pack.kKwRRn/_old 2017-12-19 10:57:46.591409623 +0100 +++ /var/tmp/diff_new_pack.kKwRRn/_new 2017-12-19 10:57:46.591409623 +0100 @@ -23,35 +23,20 @@ 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 @@ 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 -------