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
This commit is contained in:
Dominique Leuenberger 2016-10-20 21:09:39 +00:00 committed by Git OBS Bridge
parent 0e048d1172
commit 713b406975
3 changed files with 54 additions and 0 deletions

View File

@ -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:
<you are logged in as user 'root'>
#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.

View File

@ -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

View File

@ -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}