[Erp5-dev] which directory to use for a new product

Jean-Paul Smets jp at nexedi.com
Fri Apr 8 08:35:07 CEST 2005


Le vendredi 8 Avril 2005 07:56, Yoshinori Okuji a écrit :
> On Friday 08 April 2005 07:43 am, y.pauthier at free.fr wrote:
> > I just want to create a simple product but my problem is about the
> > directory to use in order to put my __init__.py file and 'Document'
> > file or 'PropertySheet' file
> >
> > which directory shoud I use if i work with 'ERP5 Live CD version
> > 1.0rc2' distrib ?
>
> When you develop your own code, using the instance home (/var/lib/zope)
> is a good way. Usually, it is not a good idea to modify the software home
> unless there is no other way, because the software home is supposed to be
> shared by multiple zope instances.
>
> (Isn't this described in Zope Developers Guide?)
>
> YO


If you want to develop a simple "application " (not a zope product), create 
the following directories (or make sure they exist)

/var/lib/zope/Document
/var/lib/zope/PropertySheet

then put your files inside. This is described in the tutorial You can later 
distribute your application as a business template.

If you want to create a new Product completeley, have a look at

http://cvs.erp5.org/cgi-bin/viewcvs.cgi/Coramy/

It is much more complex to distribute than business templates.

JPS.


-- 
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org
Rentalinux: Desktop Linux Server
http://www.rentalinux.com



More information about the Erp5-dev mailing list