[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health-dev] gnuhealth fhir server 0.9b3 does not find database
From: |
Axel Braun |
Subject: |
Re: [Health-dev] gnuhealth fhir server 0.9b3 does not find database |
Date: |
Fri, 23 Apr 2021 08:12:41 +0200 |
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
- [Health-dev] gnuhealth fhir server 0.9b3 does not find database, Axel Braun, 2021/04/14
- Re: [Health-dev] gnuhealth fhir server 0.9b3 does not find database, Axel Braun, 2021/04/18
- Re: [Health-dev] gnuhealth fhir server 0.9b3 does not find database, Luis Falcon, 2021/04/18
- Re: [Health-dev] gnuhealth fhir server 0.9b3 does not find database, Axel Braun, 2021/04/22
- Re: [Health-dev] gnuhealth fhir server 0.9b3 does not find database, Luis Falcon, 2021/04/22
- Re: [Health-dev] gnuhealth fhir server 0.9b3 does not find database, Axel Braun, 2021/04/22
- Re: [Health-dev] gnuhealth fhir server 0.9b3 does not find database, Luis Falcon, 2021/04/22
- Re: [Health-dev] gnuhealth fhir server 0.9b3 does not find database, Luis Falcon, 2021/04/22
- Re: [Health-dev] gnuhealth fhir server 0.9b3 does not find database,
Axel Braun <=