You are not logged in Log in Join
You are here: Home » Download Zope Products » Content Management Framework (ne "PTK") » PTK-NG QuickStart Instructions » View Document

Log in
Name

Password

 

PTK-NG QuickStart Instructions

from a post to the zope-ptk list, 2001/01/26

I have a somewhat tested script for getting a PTK site installed quickly. I haven't tried it on anything but my Linux box; Cygwin might not choke, but I wouldn't bet on it :).

  • To use it on a Zopeless machine:
        $ /usr/bin/cvs -d :pserver:[email protected]:/cvs-repository login
          (supply 'anonymous' as the password).
    
        $ mkdir ptktest; cd ptktest && ./make_ptk_site
    

In this configuration, you may need to run the script twice, as I haven't figured out how to avoid having a subscript exec'ed over the top of it.

  • On a box with a working Zope SOFTWARE_HOME, for instance in '/usr/local/zope/Zope-2.3-src':
        $ /usr/bin/cvs -d :pserver:[email protected]:/cvs-repository login
          (supply 'anonymous' as the password).
    
        $ mkdir ptktest; cd ptktest
    
        $ ZOPE_HOME=/usr/local/zope/Zope-2.3-src ./make_ptk_site
    
  • If you'd rather not use the default emergency/manager userids/passwords, you can override them as well:
        $ ZOPE_HOME=/usr/local/zope/Zope-2.3-src
    
        $ SUPER_ID=emergency
    
        $ SUPER_PWD=breakGl@ss
    
        $ MGR_ID=manager
    
        $ MGR_PWD=somet#ingSecure
    
        $ export ZOPE_HOME SUPER_ID SUPER_PWD MGR_ID MGR_PWD
    
        $ mkdir ptktest; cd ptktest; ./make_ptk_site
    
  • After creating the INSTANCE_HOME, start the site using 'zstart':

    $ ./zstart -P 3000 -w 3081

  • Log in with your browser (e.g., http://localhost:3080/manage) using the manager ID.
  • Add a Portal (New), giving it an appropriate ID.
  • visit its configuration screen (linked from the "Success!" page) and enable users to set their own initial passwords (this is easier for experimentation, even if you don't intent to allow it later).
  • Point your browser to the alternate port and join the portal: http://localhost:3081/whatever_you_named_it

Enjoy!

Tres