[Zope-CVS] CVS: Packages/Moztop/doc - INSTALL.txt:1.9

Stephan Richter srichter@cbu.edu
Sun, 30 Mar 2003 14:35:53 -0500


Update of /cvs-repository/Packages/Moztop/doc
In directory cvs.zope.org:/tmp/cvs-serv19065/doc

Modified Files:
	INSTALL.txt 
Log Message:
Updated the installation instructions to show how to install the jsunit 
unit test package.


=== Packages/Moztop/doc/INSTALL.txt 1.8 => 1.9 ===
--- Packages/Moztop/doc/INSTALL.txt:1.8	Thu Mar 20 13:24:23 2003
+++ Packages/Moztop/doc/INSTALL.txt	Sun Mar 30 14:35:52 2003
@@ -1,7 +1,7 @@
 Installation
 ------------
 
-Important: Currently the nightly builds are required to run the IDE!
+Important: Currently Mozilla 1.3.0 is required to run the IDE!
 
 USER:
 =====
@@ -38,18 +38,31 @@
 
   2. Delete the folder 'moztop' in $MOZILLAHOME/chrome.
 
-  3. Get the latest CVS version from cvs.zope.org/Packages/MoZTop.
+  3. Get the latest CVS version from cvs.zope.org/Packages/Moztop.
 
-  4. Link MoZTop/moztop in $MOZILLAHOME/chrome.
+  4. Link Moztop/moztop in $MOZILLAHOME/chrome.
+
+  5. (Optional) Installing Javascript Init Test pakcage. 
+
+     a) Download the JSUnit package from http://www.jsunit.net.
+
+     b) After unpacking the file, copy/move the jsunit directory to 
+        <Moztop>/moztop/content. (The unit tests assume the directory will be
+	at this location)
+
+     c) In Mozilla you can now run 
+        file:///<Moztop>/moztop/content/jsunit/testRunner.html
 
 Note: If you Data.fs is empty (i.e. has no Content Objects in it) you will see
       an empty tree. In order to get a nice tree, simply add a couple of
-      Folders via the HTML GUI and you will see them in the Moztop 
+      Folders via the HTML GUI and you will see them in the Moztop.
+
 
 EXPERIMENTAL PUT SUPPORT:
 =========================
 
-  To try out content creation based on header sniffing on Zope 3 you must do this:
+  To try out content creation based on header sniffing on Zope 3 you must do
+  this:
 
   1. Make sure both your Zope3 and Moztop checkouts are up to date. 
 
@@ -64,12 +77,14 @@
        allowed_attributes="PUT"
    />
 
-   3. Edit idesupport/configure.zcml and uncomment out this:   <include package=".http" />
+   3. Edit idesupport/configure.zcml and uncomment out this: 
+      <include package=".http" />
 
-   4. Make sure your zope/app/services/adapter.py has this on queryService(), around line 132:
+   4. Make sure your zope/app/services/adapter.py has this on queryService(),
+      around line 132:
 
       return adapters.queryAdapter(object, interface, default, name)
 
-   Now, if you send a PUT request with a header 'X-Zope-Type-Name' set to 'PageTemplate' you will
-   be able to create a Zope Page Template on Zope 3.
+   Now, if you send a PUT request with a header 'X-Zope-Type-Name' set to
+   'PageTemplate' you will be able to create a Zope Page Template on Zope 3.