[Checkins] SVN: grok/trunk/doc/tutorial.txt Document grokproject's
new features in the tutorial
Philipp von Weitershausen
philikon at philikon.de
Thu Mar 8 16:39:03 EST 2007
Log message for revision 73074:
Document grokproject's new features in the tutorial
* default module name is 'app.py'
* supply --with-zope3 if you have an existing Zope 3 installation
Changed:
U grok/trunk/doc/tutorial.txt
-=-
Modified: grok/trunk/doc/tutorial.txt
===================================================================
--- grok/trunk/doc/tutorial.txt 2007-03-08 20:46:32 UTC (rev 73073)
+++ grok/trunk/doc/tutorial.txt 2007-03-08 21:39:02 UTC (rev 73074)
@@ -79,15 +79,20 @@
-----------------------
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
+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
called Sample::
$ grokproject Sample
This tells grokproject to create a new subdirectory called ``Sample``
-and set up the project in there.
+and set up the project in there. grokproject will automatically
+download and install Zope 3 and Grok into the project area. If you
+already have Zope 3.3.x installed, you can save some time and tell
+grokproject to reuse that installation:
+ $ grokproject --with-zope3=/usr/local/Zope-3.3.1 Sample
+
grokproject will tell you what it will be creating::
Selected and implied templates:
@@ -120,9 +125,9 @@
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
-call our module ``app.py``::
+stick with the default ``app.py``::
- Enter module (Name of a demo Python module placed into the package): app.py
+ Enter module (Name of a demo Python module placed into the package) ['app.py']:
After this Grok asks you for an initial username and password for the
Zope server. We'll use ``grok`` for both::
@@ -130,10 +135,10 @@
Enter user (Name of an initial administrator user): grok
Enter passwd (Password for the initial administrator user): grok
-Now you have to wait a while as grokproject downloads Grok, Zope 3 and
-sets up the project environment for you.
+Now you have to wait a while as grokproject downloads Grok and
+possibly Zope 3 and sets up the project environment for you.
-After all that, Grok, along with Zope 3 itself, is ready to go.
+After all that, Grok, along with a Zope 3 instance, is ready to go.
Starting up Zope
----------------
More information about the Checkins
mailing list