How to Run Tryton beside using Docker

Im a new to this world, heck i don’t know what should i do to run Tryton can anyone tell me how

Hello Arthur,

please check this post, it describes the process in detail.
Welcome to the community.

This is the recommended way.

Otherwise you can install it using pip

pip install trytond

Initialize the database

trytond-admin -c <configurationfile> -d <databasename> --all

And run it

trytond  -c <configurationfile>

In the configuration file you define the parameters like the database you want to use
https://docs.tryton.org/7.2/server/topics/configuration.html

Minimum config I use for testing and dev would go something like that:

[web]
listen = 0.0.0.0:8000

[database]
uri = postgresql://tryton:tryton@localhost
path = var/lib/trytond
language = en

You can also check this post for more detailed instructions on how to deploy it as a service

Kind regards,
Blaž

1 Like