Hello community, here is the log from the commit of package trytond for openSUSE:Factory checked in at 2016-10-20 23:09:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/trytond (Old) and /work/SRC/openSUSE:Factory/.trytond.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "trytond" Changes: -------- --- /work/SRC/openSUSE:Factory/trytond/trytond.changes 2016-10-02 00:09:53.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.trytond.new/trytond.changes 2016-10-20 23:10:10.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Oct 18 19:06:22 UTC 2016 - [email protected] + +- update of README + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tryton-server.README.SUSE ++++++ --- /var/tmp/diff_new_pack.WZRipJ/_old 2016-10-20 23:10:11.000000000 +0200 +++ /var/tmp/diff_new_pack.WZRipJ/_new 2016-10-20 23:10:11.000000000 +0200 @@ -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: +<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. + + +Setup (a bit more in detail) +============================ Preparing the database ---------------------- ++++++ trytond.conf ++++++ --- /var/tmp/diff_new_pack.WZRipJ/_old 2016-10-20 23:10:11.000000000 +0200 +++ /var/tmp/diff_new_pack.WZRipJ/_new 2016-10-20 23:10:11.000000000 +0200 @@ -132,3 +132,10 @@ #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
