On Thu, 2013-12-05 at 14:00 +0530, Tejas wrote:
> Hello,
> 
> 
> 
> I have setup Tryton in ubuntu server.
> 

I assume you mean by using packages from their repository if paths are
different, or do you mean from "source"?

> 
> Few addons are located add different directory.
> 

Modules are python packages that are not strictly dependent on paths are
they not?  When I installed Tryton initially using "apt get" in Debian I
found the modules either in the repository or using the easy install
tools for Python (simply using "pip install <module name>").  Never
really gave it any thought the install path; those methods picked
whatever was most appropriate locations I suppose.  I simply used
updatedb/slocate to find where the files got put.

> 
> How many I setup tryton.conf or todo.
> 
> 
> So tryton server can able to use extrenal addons too.
> 

The exact tryton.conf I cannot be sure as I do not run Ubuntu.  Given my
experience, I quickly gave up on using my operating system's
repositories as they are often behind the curve release-wise.  I instead
use "python-virtualenv" to create an independent "python environment" in
a root path like "/opt/tryton-2.4".  Not only does that make the paths
consistent regardless of OS so I can reuse configurations, I can also
have multiple releases of Tryton installed on one host concurrently if I
want.

Sharoon Thomas pointed me in the right direction, and I also used this
tutorial to learn how to do it:
http://www.bluelightav.org/display/BLUE/Creating+Virtual+Environments
+for+different+Tryton+installations

the only packages I apt-get are for pip and virtualenv.  Then I create
the virtualenv and use "pip install" Trytond and all the modules.  Once
I do the install I set up the tryton.conf file to match the virtualenv
and run trytond with -u to update the database and go into Tryton to do
the "install" function and get the modules to run.

> 
> 
> 
> 
> 
> -- 
> Thanks,
> 
> Tejas L Tank.
> Email : [email protected]
> Mobile : +91 - ( 85 - 111 - 5 - 33 - 98 )
> India.

Reply via email to