[Zope] Re: [Zope-dev] Separate staging and development areas for a product
John Ziniti
jziniti@speakeasy.org
Mon, 15 Apr 2002 13:39:18 -0400
I took the liberty of moving this thread to zope, as it's
probably better suited for that ML ...
Ted Skolnick wrote:
>My project contains ZSQL methods and external methods, if that is
>significant. It seems like the external methods could be a rub, since they
>exist as files in the Zope installation directories (specifically in the
>Extensions directory). I don't know how I could have multiple versions of
>these files, one for development, one for staging all within one instance of
>Zope.
>
I do this using one machine for development and another
for production. ZSQL Methods can be kept in different
folders for Dev/Prod, but External Methods would require
different modules for this, which will get hairy if you have
many EM's. I think two machines is best, two Zope's is
next (using INSTANCE_HOME), and a naming convention
is next (Production_EM.py vs. Development_EM.py).
>
>I'd like to have a URL that looks like this...
>http://myserver/myproj/mymethod without the Control_Panel bit.
>
To get that, you need to instantiate your product. Within the
ZMI, use the "Add .." dropdown menu and create a new instance
of the "myproj" method in the Root folder. Then your URL
will work.