Accepting request 436213 from Application:ERP:Tryton:Factory
Documentation enhances OBS-URL: https://build.opensuse.org/request/show/436213 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trytond?expand=0&rev=3
This commit is contained in:
parent
8b4ff476e9
commit
c868e035d2
@ -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
|
||||
----------------------
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user