Auto-create initial PloneSite instance on zope startup
[zope-bootstrap.git] / src / koehsel.policy / koehsel / policy / profiles.zcml
diff --git a/src/koehsel.policy/koehsel/policy/profiles.zcml b/src/koehsel.policy/koehsel/policy/profiles.zcml
new file mode 100644 (file)
index 0000000..86474da
--- /dev/null
@@ -0,0 +1,22 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
+    i18n_domain="koehsel.theme">
+
+  <genericsetup:registerProfile
+      name="default"
+      title="Koehsel Site"
+      directory="profiles/default"
+      description='Extension profile for the Koehsel Site.'
+      provides="Products.GenericSetup.interfaces.EXTENSION"
+      />
+
+  <genericsetup:importStep
+      name="koehsel.policy.content"
+      title="Koehsel Site: initial site setup"
+      description="Create and customize initial site content."
+      handler=".setuphandlers.siteSetup">
+    <depends name="plone-content"/>
+  </genericsetup:importStep>
+
+</configure>