Morning Luis,

Am Donnerstag, 22. April 2021, 22:17:36 CEST schrieben Sie:
> >
> > That is nowhere mentioned - the documentation talks about the
> > config.py file
> >
> > > # Add Tryton server configuration file
> > > export
> > > TRYTOND_CONFIG=${GNUHEALTH_DIR}/tryton/server/config/trytond.conf
> >
> > Hm, I'm not the expert, but I feel a bash export is not a proper
> > place for a configuration entry....
>
> Yes. It might not be very clear. on the trytond-admin help is
> mentioned...
>
>       "The config file can be specified in the TRYTOND_CONFIG
>       environment variable"

*can be* - trytond-admin accepts -c to set the path to the config file

> You might want to include a .gnuhealthrc (or similar) file with the
> relevant environment variables such as:
>
> * PYTHONPATH
> * PATH (including the $HOME/.local/bin)
>
> As well as the TRYTOND_PATH.
>
> That would help your GNU Health ecosystem experience :)

:-)

Take it as a feedback from beta testing
- have a separate config file ($PYTHONPATH/.../server/config.py is IMO not a
proper place
- in there, have an option for the trytond-config file
- or accept a command line parameter for the same

Cheers
Axel



Reply via email to