Accepting request 557699 from Application:ERP:Tryton:Factory
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/557699 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuhealth?expand=0&rev=22
This commit is contained in:
parent
0815b8a8af
commit
16e61826d1
@ -23,35 +23,20 @@ to
|
||||
|
||||
Save your input. This will make sure that Tryton/GNUHealth server can connect to the database
|
||||
|
||||
3) Create a role for 'tryton' in the database (sill as user postgres)
|
||||
3) Create a role for 'tryton' in the database (still as user postgres)
|
||||
> psql -c "CREATE USER tryton WITH CREATEDB;"
|
||||
|
||||
4) exit as user postgres and restart postgres
|
||||
4) Creating the database:
|
||||
> psql -c "createdb mydb --encoding='UTF-8' --owner=tryton;"
|
||||
|
||||
5) exit as user postgres and restart postgres
|
||||
> exit
|
||||
> systemctl restart postgresql
|
||||
|
||||
5) start gnuhealth/trytond:
|
||||
> systemctl start gnuhealth
|
||||
|
||||
6) Install the tryton client:
|
||||
> zypper in tryton
|
||||
|
||||
7) Open the tryton client:
|
||||
> tryton
|
||||
go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost
|
||||
-> you should now see a selection of available databases
|
||||
|
||||
Note: From Tryton Release 4.2 onwards it is not possible anymore to create databases
|
||||
from the Frontend. You need to do this manually
|
||||
|
||||
8) Creating the database:
|
||||
> su - postgres -c "createdb mydb --encoding='UTF-8' --owner=tryton"
|
||||
|
||||
Note: The owner of the database should be the same user, as under which the
|
||||
tryton server runs (default:tryton) Enter a name for the database
|
||||
(here as default: mydb).
|
||||
tryton server runs (default:tryton)
|
||||
|
||||
9) Initializing the database:
|
||||
6) Initializing the database:
|
||||
Log in as user tryton:
|
||||
|
||||
> sudo su tryton -s /bin/bash
|
||||
@ -59,12 +44,27 @@ Log in as user tryton:
|
||||
|
||||
Note: Use the database name you chose in the previous step (here as default: mydb).
|
||||
You will be asked for the admin password for this database.
|
||||
For the first login, log in to the newly initialized database with user admin and password as set during initialization.
|
||||
For the first login, log in to the newly initialized database with user 'admin' and password as set during initialization.
|
||||
|
||||
As result you will have a bare Tryton database with the base modules installed.
|
||||
As result you will have a bare GNU Health database with the base modules installed.
|
||||
|
||||
7) Start the Gnuhealth-Server:
|
||||
> systemctl start gnuhealth
|
||||
|
||||
DONE.
|
||||
|
||||
You may want to install a Client locally:
|
||||
|
||||
8) Install the tryton client:
|
||||
> zypper in tryton
|
||||
|
||||
9) Open the tryton client:
|
||||
> tryton
|
||||
go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost
|
||||
-> you should now see a selection of available databases
|
||||
|
||||
DONE. (now really)
|
||||
|
||||
Upgrade
|
||||
-------
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 9 18:17:59 UTC 2017 - axel.braun@gmx.de
|
||||
|
||||
- documentation updated
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 6 16:30:12 UTC 2017 - axel.braun@gmx.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user