[Zope-PTK] Impressions of the PTK from my Christmas project
Bruce C. Dillahunty
bdillahu@peachbush.com
Tue, 02 Jan 2001 23:43:02 -0500
Just to insert a comment from a PTK "lurker"...
This is the best set of installation instructions I have ever ran across for a
Zope item... I wish we could have this style of instructions for most products
in an easily found manner... should would help us knewbies.
Thanks Tres!
Bruce
> CVS is still the preferred method of getting the PTK; we work pretty
> hard not to have the CVS trunk in an inconsistent state. Tarballs are
> (still) just snapshots. I can install the PTK into a brand new 2.2.4
> Zope
> in about 5 minutes:
>
> * Check out the PTK CVS:
>
> 0. cd /usr/local/zope
>
> 1. cvs -d :pserver:anonymous@cvs.zope.org:/cvs-repository login
>
> 2. cvs -d :pserver:anonymous@cvs.zope.org:/cvs-repository co ZopePTK
>
> * Fetch the PythonMethod product:
>
> 0. wget
> http://www.zope.org/Members/4am/PythonMethod/PythonMethod-0.1.7-nonbin.tgz
>
> 1. tar xzf PythonMethod-0.1.7-nonbin.tgz
>
> 2. mv lib/python/Products/PythonMethod ./PythonMethod-0.1.7
>
> 3. rm -r lib
>
> * Link/copy the PTK filesystem products and PythonMethod into the
> Products directory:
>
> 0. cd Zope-2.2.4-src/lib/python/Products
>
> 1. ln -s /usr/local/zope/PythonMethod-0.1.7 ./PythonMethod
>
> 2. ln -s /usr/local/zope/ZopePTK/ZCallable .
>
> 3. ln -s /usr/local/zope/ZopePTK/PTKBase .
>
> 4. ln -s /usr/local/zope/ZopePTK/PTKDemo .
>
> * Link/copy the import files for the PTK's through-the-web products
> into the
> import directory:
>
> 0. cd /usr/local/zope/Zope-2.2.4-src/import
>
> 1. ln -s /usr/local/zope/ZopePTK/PTKDemo/Wizard.zexp .
>
> 2. ln -s /usr/local/zope/ZopePTK/PTKDemo/DemoPortal.zexp .
>
>
> * Load the TTW products:
>
> 0. Restart Zope.
>
> 1. Select the Control_Panel/Products "import/export" tab.
>
> 2. Import 'Wizard.zexp'.
>
> 3. Import 'DemoPortal.zexp'.
>
>
> * Create a portal:
>
> 0. In the root of the Zope instance, select 'Portal' from the add
> list.
>
> 1. Fill out the wizard forms; pay special note to the directive to
> supply
> a "manager" user with the same ID but a different password than
> your
> normal manager user.
>
> * Customize the DTML in the portal. You probably want to pay
> special attention to the stylesheets (in the 'Styles' folder) and
> to 'standard_html_header' and 'standard_html_footer'. If your layout
> needs to be substantially different (not just different
> colors/fonts/text,
> but a different organization) then you will have to put in more
> effort.
>
> Tres.
> --
> ===============================================================
> Tres Seaver tseaver@digicool.com
> Digital Creations "Zope Dealers" http://www.zope.org
--
Bruce C. Dillahunty
Peachbush Enterprises
bdillahu@peachbush.com