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: Cédric Krier
Subject: Re: [Health] trytond.conf and tryton configuration
Date: Mon, 14 Nov 2011 19:10:44 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On 14/11/11 19:03 +0100, Cédric Krier 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/
> 

I created an issue https://bugs.tryton.org/issue2287

-- 
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/

Attachment: pgpH85wehBBqb.pgp
Description: PGP signature


reply via email to

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