[Top][All Lists]
[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 18:56:43 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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.
--
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/
pgpenQg8niJ9I.pgp
Description: PGP signature
Re: [Health] trytond.conf and tryton configuration, ronald munjoma, 2011/11/14