[Zope3-checkins] SVN: Zope3/trunk/skel/ Flesh out the skeleton instance home a bit.

Fred L. Drake, Jr. fred at zope.com
Fri May 14 10:04:20 EDT 2004


Log message for revision 24650:
Flesh out the skeleton instance home a bit.


-=-
Added: Zope3/trunk/skel/README.txt
===================================================================
--- Zope3/trunk/skel/README.txt	2004-05-14 13:45:49 UTC (rev 24649)
+++ Zope3/trunk/skel/README.txt	2004-05-14 14:04:20 UTC (rev 24650)
@@ -0,0 +1,7 @@
+This directory contains an "instance home" for the Zope application
+server.  It contains the following directories:
+
+  bin/         Scripts used to control the Zope instance
+  etc/         Configuration files
+  log/         Log files
+  var/         Run-time data files, including the object database


Property changes on: Zope3/trunk/skel/README.txt
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Copied: Zope3/trunk/skel/etc/package-includes/README.txt (from rev 24645, Zope3/trunk/package-includes/README.txt)


Property changes on: Zope3/trunk/skel/etc/package-includes/README.txt
___________________________________________________________________
Name: cvs2svn:cvs-rev
   + 1.1
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Added: Zope3/trunk/skel/etc/principals.zcml.in
===================================================================
--- Zope3/trunk/skel/etc/principals.zcml.in	2004-05-14 13:45:49 UTC (rev 24649)
+++ Zope3/trunk/skel/etc/principals.zcml.in	2004-05-14 14:04:20 UTC (rev 24650)
@@ -0,0 +1,41 @@
+<!-- This file defines the initial principals for your site.  -->
+<!-- You should examine it carefully to ensure this is what   -->
+<!-- you want before running Zope.                            -->
+
+<configure xmlns='http://namespaces.zope.org/zope'>
+
+  <unauthenticatedPrincipal
+    id="zope.anybody"
+    title="Unauthenticated User" />
+
+  <principal
+    id="zope.manager"
+    title="Manager"
+    login="<<USERNAME>>"
+    password="<<PASSWORD>>"
+    />
+
+  <grant
+    role="zope.Manager"
+    principal="zope.manager"
+    />
+
+  <!-- This is a sample of a "normal member" principal; uncomment this
+       section and edit it to suit your site's requirements before
+       starting Zope.
+
+  <principal
+    id="zope.member"
+    title="Sample ordinary user (member)"
+    login="frodo"
+    password="456"
+    />
+
+  <grant
+    role="zope.Member"
+    principal="zope.member"
+    />
+
+  -->
+
+</configure>


Property changes on: Zope3/trunk/skel/etc/principals.zcml.in
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Zope3/trunk/skel/etc/zope.conf.in
===================================================================
--- Zope3/trunk/skel/etc/zope.conf.in	2004-05-14 13:45:49 UTC (rev 24649)
+++ Zope3/trunk/skel/etc/zope.conf.in	2004-05-14 14:04:20 UTC (rev 24650)
@@ -0,0 +1,56 @@
+# This is the configuration file for the Zope Application Server.
+
+%define INSTANCE  <<INSTANCE_HOME>>
+
+%define CONFDIR   $INSTANCE/etc
+%define DATADIR   $INSTANCE/var
+%define LOGDIR    $INSTANCE/log
+
+# identify the component configuration used to define the site:
+#
+site-definition $INSTANCE/etc/site.zcml
+
+# number of bytecode instructions to execute between checks for
+# interruptions (SIGINTR, thread switches):
+#
+interrupt-check-interval 200
+
+<server>
+  type HTTP
+  address 8080
+</server>
+
+# For debugging purposes, you can use this publisher instead/as well
+# (obviously if it's as well, use a different port number). If there's
+# an exception, Zope will drop into pdb at the point of the exception.
+#
+#<server>
+#  type PostmortemDebuggingHTTP
+#  address 8080
+#</server>
+
+<server>
+  type FTP
+  address 8021
+</server>
+
+# Standard Filestorage
+<zodb>
+  <filestorage>
+    path $DATADIR/Data.fs
+  </filestorage>
+</zodb>
+
+<eventlog>
+  # This sets up logging to both a file and to standard output
+  # (STDOUT).  The "path" setting can be a relative or absolute
+  # filesystem path or the tokens STDOUT or STDERR.
+
+  <logfile>
+    path $LOGDIR/z3.log
+  </logfile>
+
+  <logfile>
+    path STDOUT
+  </logfile>
+</eventlog>


Property changes on: Zope3/trunk/skel/etc/zope.conf.in
___________________________________________________________________
Name: svn:eol-style
   + native




More information about the Zope3-Checkins mailing list