health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] trytond.conf and tryton configuration


From: Luis Falcon
Subject: Re: [Health] trytond.conf and tryton configuration
Date: Mon, 14 Nov 2011 15:25:59 -0300

On Mon, Nov 14, 2011 at 3:03 PM, Cédric Krier <address@hidden> wrote:
> On 14/11/11 18:56 +0100, Cédric Krier wrote:
>> On 14/11/11 14:46 -0300, Luis Falcon wrote:
>> > On Mon, Nov 14, 2011 at 12:03 PM, Cédric Krier <address@hidden> wrote:
>> > > On 14/11/11 14:36 +0000, Bashar wrote:
>> > >> Hi,
>> > >> I installed trytond using pip and I want to connect it to a postgresql
>> > >> database server, but, I can't find the configuration file that I should
>> > >> modify to tell trytond to connect to DB server!
>> > >> I searched for the trytond.conf, but, I didn't find it, so I tried to
>> > >> modify the /usr/local/lib/python2.6/dist-packages/trytond/config.py by
>> > >> setting the db host and other info, nothing works either.
>> > >> Then, what shall I do in order to make tryton to connect to postgresql
>> > >> server?
>> > >
>> > > We can not (at least we do not yet find how) install configuration files
>> > > with pip. So you can grab the configuration file from the archive on
>> > > PyPI.
>> >
>> > We could embed the default values in the server executable file. Then
>> > invoking trytond it with a specific flag would generate the
>> > trytond.conf file. The params will always be version-dependent.
>>
>> I don't really like this solution.
>> We should have a Python way to install this configuration file.
>
> I think we could install it in share/doc/trytond/
That's good. I would still complement it with the embed option :-)

>
>
> --
> Cédric Krier
>
> B2CK SPRL
> Rue de Rotterdam, 4
> 4000 Liège
> Belgium
> Tel: +32 472 54 46 59
> Email/Jabber: address@hidden
> Website: http://www.b2ck.com/
>



-- 
Luis Falcon
GNU Health
http://health.gnu.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]