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 14:46:23 -0300

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.

>
>> Another question, how to install the tryton client version 2.2 using pip??
>
> Just like with trytond: pip install (--user) tryton
> But you must have pyGTK installed because it is a dependecy that can not
> be install via pip.
>
> --
> 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]