[Checkins] SVN: bluebream/website/docs/v1.0/tutorial1.rst - Added missing code
Baiju M
baiju.m.mail at gmail.com
Thu Apr 29 08:01:51 EDT 2010
Log message for revision 111575:
- Added missing code
- bit cleanup
Changed:
U bluebream/website/docs/v1.0/tutorial1.rst
-=-
Modified: bluebream/website/docs/v1.0/tutorial1.rst
===================================================================
--- bluebream/website/docs/v1.0/tutorial1.rst 2010-04-29 11:51:52 UTC (rev 111574)
+++ bluebream/website/docs/v1.0/tutorial1.rst 2010-04-29 12:01:51 UTC (rev 111575)
@@ -339,14 +339,17 @@
main = tc.main.startup:application_factory
The name of entry point should be ``main``. Otherwise, it should be
-explicitly mentioned in configuration file. For example, if the
-definition is::
+explicitly mentioned in configuration file (``debug.ini`` &
+``deploy.ini``). For example, if the definition is::
[paste.app_factory]
testapp = tc.main.startup:application_factory
The PasteDeploy configuration should be changed like this::
+ [app:main]
+ use = egg:ticketcollector#testapp
+
The second section (``[server:main]``) specifies the WSGI server::
[server:main]
@@ -447,7 +450,7 @@
----------------------
Similar to PasteDeploy configuration, there are two Zope
-configuration files: ``debug.ini`` and ``deploy.ini``.
+configuration files: ``etc/zope.conf`` and ``etc/zope-debug.conf``.
This is the content of ``etc/zope.conf``::
@@ -733,12 +736,12 @@
Container objects
~~~~~~~~~~~~~~~~~
-In this section we will explore one of the main concepts in BlueBream:
- **container objects**. As mentioned earlier BlueBream uses an
-object database called ZODB to store your Python objects. You can
-think of an object database as a container which contains objects;
-the inner object may be another container which contains other
-objects.
+In this section we will explore one of the main concepts in
+BlueBream: **container objects**. As mentioned earlier BlueBream
+uses an object database called ZODB to store your Python objects.
+You can think of an object database as a container which contains
+objects; the inner object may be another container which contains
+other objects.
The object hierarchy may look like this::
@@ -955,7 +958,7 @@
settings for ``Collector``.
A view for adding collectors
-~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Now the content component is ready to use but you will need a web
page which lets us add a ticket collector object. You can use the
@@ -1007,7 +1010,7 @@
/>
The package development is complete now, but it is not yet included
-from the main package. To include this package from the main package
+from the main package. To include this package in the main package
(``tc.main``) you need to modify the ``src/tc/main/configure.zcml``
and add this line before ``</configure>``::
More information about the checkins
mailing list