From 428d62673c0940308a2287480c290da5676e03e020f38d6697e28b83705d1586 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 20 Oct 2016 21:09:39 +0000 Subject: [PATCH] Accepting request 436210 from Application:ERP:Tryton:Factory Documentation enhances OBS-URL: https://build.opensuse.org/request/show/436210 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuhealth?expand=0&rev=3 --- GNUHealth.README.SUSE | 44 +++++++++++++++++++++++++++++++++++++++++++ gnuhealth.changes | 5 +++++ gnuhealth.spec | 5 +++++ 3 files changed, 54 insertions(+) diff --git a/GNUHealth.README.SUSE b/GNUHealth.README.SUSE index ae4bbc2..5498218 100644 --- a/GNUHealth.README.SUSE +++ b/GNUHealth.README.SUSE @@ -1,6 +1,50 @@ GNUHealth for openSUSE ====================== +How to get it running (Without reading the instructions) +======================================================== + +You have already installed the package gnuhealth and found this documentation. Good. +1) Log in as root and start the database +#su +#systemctl start postgresql + +2) Change postgres parameters. You need to log in as user postgres, in order to avoid authorisation issues. Assuming we have nano as editor: + +#su postgres +#nano /var/lib/pgsql/data/pg_hba.conf +Change the line + local all all md5 +to + local all all trust +Save your input. + +3) Create a role for 'tryton' in the database (sill as user postgres) +#psql -c "CREATE USER tryton WITH CREATEDB;" + +4) exit as user postgres and restart postgres +#exit +#systemctl restart postgresql + +5) Now lets look at /etc/tryton/trytond.conf. Uncomment the line with super_pwd (it is recommended that you set your own password here! +#nano /etc/tryton/trytond.conf +uncomment super_pwd + +6) start gnuhealth/trytond: +#systemctl start trytond + +7) Open the tryton client: +#tryton +go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost +-> you should now see a button to create a database + +DONE. +Check /usr/share/doc/packages/trytond/tryton-server.README.SUSE for more Information + + +GNUHealth for openSUSE (a bit more in detail) +============================================= + GNUHealth is a free Health and Hospital Information system build on top of Tryton, an OpenSource ERP framework. This is the openSUSE package for GNUHealth. Starting with openSUSE Leap 42.2, it is shipped with the standard distribution. It was build to simplify the installation and maintenance of a system, to make it useable for 'end-users' as well. diff --git a/gnuhealth.changes b/gnuhealth.changes index e73eb5a..7747ca0 100644 --- a/gnuhealth.changes +++ b/gnuhealth.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 18 18:59:15 UTC 2016 - axel.braun@gmx.de + +- README updated + ------------------------------------------------------------------- Wed Sep 28 18:35:02 UTC 2016 - axel.braun@gmx.de diff --git a/gnuhealth.spec b/gnuhealth.spec index 9068855..5861bbc 100644 --- a/gnuhealth.spec +++ b/gnuhealth.spec @@ -71,6 +71,8 @@ Requires: trytond_stock_supply # additional suggestion for a useable editor Suggests: nano +# you may need a frontend to work with +Suggests: tryton BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -79,6 +81,9 @@ GNU Health is the Hospital Information System adopted by the United Nations University, International Institute for Global Health, for the implementations and trainings. +This is the server component of GNU Health. +You would need the Tryton frontend as well, on the same or a different machine + %prep %setup -q -n %{name}-%{version}