diff --git a/tryton-server.README.SUSE b/tryton-server.README.SUSE index 398c1fd..85df29f 100644 --- a/tryton-server.README.SUSE +++ b/tryton-server.README.SUSE @@ -1,8 +1,48 @@ tryton-server for openSUSE ========================== -Setup -===== +How to get it running (Without reading the instructions) +======================================================== + +You have already installed the package trytond 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. + + +Setup (a bit more in detail) +============================ Preparing the database ---------------------- diff --git a/trytond.changes b/trytond.changes index 3017f73..a4c08be 100644 --- a/trytond.changes +++ b/trytond.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 18 19:06:22 UTC 2016 - axel.braun@gmx.de + +- update of README + ------------------------------------------------------------------- Wed Sep 28 18:53:35 UTC 2016 - axel.braun@gmx.de diff --git a/trytond.conf b/trytond.conf index 9caae23..f66982e 100644 --- a/trytond.conf +++ b/trytond.conf @@ -132,3 +132,10 @@ listen = [::]:8000 #uri = ldap://host:port/dn?attributes?scope?filter?extensions # A basic default URL could look like #uri = ldap://localhost:389/ + +# SAO - the web-client +# set the path where SAO handles the requests: +#[web] +#root = /usr/lib/node-modules/tryton-sao +# +# SAO listens on http://localhost:8000