[Checkins] SVN: grok/trunk/ Updated tutorial section about grokproject to fit the latest changes.

Maurits van Rees m.van.rees at zestsoftware.nl
Sun May 4 07:04:45 EDT 2008


Log message for revision 86338:
  Updated tutorial section about grokproject to fit the latest changes.
  

Changed:
  U   grok/trunk/CHANGES.txt
  U   grok/trunk/doc/tutorial.rst

-=-
Modified: grok/trunk/CHANGES.txt
===================================================================
--- grok/trunk/CHANGES.txt	2008-05-04 11:04:03 UTC (rev 86337)
+++ grok/trunk/CHANGES.txt	2008-05-04 11:04:44 UTC (rev 86338)
@@ -7,6 +7,8 @@
 Feature changes
 ---------------
 
+* Updated tutorial section about grokproject to fit the latest changes.
+
 * Added grok.traversable directive for easy traversal to attributes and
   methods.
 

Modified: grok/trunk/doc/tutorial.rst
===================================================================
--- grok/trunk/doc/tutorial.rst	2008-05-04 11:04:03 UTC (rev 86337)
+++ grok/trunk/doc/tutorial.rst	2008-05-04 11:04:44 UTC (rev 86338)
@@ -111,6 +111,16 @@
 Creating a grok project
 -----------------------
 
+.. sidebar:: Using paster
+
+  For those who know paster_: ``grokproject`` is just a wrapper around
+  a paster template.  So instead of running the ``grokproject``
+  command, you can also run::
+
+  $ paster create -t grok Sample
+
+.. _paster: http://pythonpaste.org/script/
+
 Let's create a first Grok project. A Grok project is a working
 environment for a developer using Grok. In essence, a directory with a
 lot of files and subdirectories in it. Let's create a Grok project
@@ -122,22 +132,13 @@
 and set up the project in there. grokproject will automatically
 download and install Zope 3 and Grok into the project area.
 
-You will be asked a number of questions now. First you need to supply
-the name of the initial module that your package will contain. We'll
-stick with the default ``app.py``::
- 
-  Enter module (Name of a demo Python module placed into the package) ['app.py']:
+You will be asked a number of questions now.  Grok asks you for an
+initial username and password for the Zope server. We'll use ``grok``
+for both::
 
-After this Grok asks you for an initial username and password for the
-Zope server. We'll use ``grok`` for both::
-
   Enter user (Name of an initial administrator user): grok
   Enter passwd (Password for the initial administrator user): grok
-  Enter eggs_dir (Location where zc.buildout will look for and place packages) ['/home/<user>/buildout-eggs']:
 
-For the last question, we'll stick with the default path which will be
-a directory called 'buildout-eggs' in your home directory.
-
 Now you have to wait while grokproject downloads `zc.buildout`_
 (the system that's used to build the project area), Grok and the Zope
 3 libraries.



More information about the Checkins mailing list