Diff for /bookie/www/setup.html between versions 1.7 and 1.14

version 1.7, 2001/03/26 07:58:51 version 1.14, 2003/04/14 07:42:47
Line 1 Line 1
Setup instructions for compiling and running Bookie:
Setup instructions for Bookie.<p>If you're just browsing or don't need to edit files directly, you
<p>can look at Bookie through the <a
If you're just browsing or don't need to edit files directly, you can look href="http://www.mozdev.org/source/browse/bookie/">web interface</a>. </p>
at Bookie through the <a<p>If you want to contribute to Bookie or compile it, then you should
href="http://www.mozdev.org/source/browse/bookie/">web interface</a>.grab a CVS <a href="http://www.cvshome.com">client</a> and set up a
<p>workspace for bookie.</p>
If you want to contribute to Bookie or compile it, then you should grab a<p>You download bookie by doing this (you only need to login once, the
CVS <a href="http://www.cvshome.com">client</a> and set up a workspace for bookie.password is guest).  Please use the prune option when checking out and
<p>updating, since the CVS tree has a lot of dead branches in it.</p>
<code> cvs -d :pserver:guest@mozdev.org:/cvs login <br>
You download bookie by doing this (you only need to login once, the password</code> <code>cvs -d :pserver:guest@mozdev.org:/cvs co bookie -dP<br>
is guest).</code>
<p>The java client is in <code>/clients/swing</code>.  There is an <a
<pre> href="http://jakarta.apache.org/ant">ant</a> script that should compile
 cvs -d :pserver:guest@mozdev.org:/cvs logineverything.&nbsp; The client's main class is <code>com.tersesystems.bookie.client.Client</code>.<br>
 cvs -d :pserver:guest@mozdev.org:/cvs co bookie</p>
</pre><p>The java server is in <code>/server</code>.  Again, the <a
 href="http://jakarta.apache.org/ant">ant</a> script that should compile
<p>The database needs data in order to work.  I wrote /scripts/import.pleverything.  The server's main class is <code>com.tersesystems.bookie.service.xmlrpc.BookieServlet</code>.</p>
which takes in my bookmarks.html file from Netscape and pumps it into the<p> The server will create four files on initialization in the current
database.  The script relies on <code>HTML::Filter</code> anddirectory: </p>
<code>HTML::TokeParser</code> may need to download from ActivePerl or CPAN.<ul>
  <li>profile.db - a database of profile information.</li>
<p>You need to have a database set up with a database schema.  Look in  <li>profile.idx - an index of profile.db</li>
/sql/solid for an example schema.  It's not too complicated.  <li>bookmarks.db - a database of bookmarks information.</li>
  <li>bookmarks.idx - an index of bookmarks.db</li>
<p> You can start the server from the root directory with: </ul>
These databases contain all the information needed for the server to
<blockquote>work.  Deleting   these files will cause the server to start off fresh.
<code>java bookie.xmlrpc.BookieServer -Dbookie.logging=./scripts/logging.properties<p> </p>
-Dbookie.database=./scripts/database.properties</code><br><p> Bookmarks are cached on the server, but since bookmarks are unique
</blockquote>to   each client this isn't that much of a win.  Performance seems okay
for now    (and if anything seems bound on the XML    processing and IO
<p>There's an Ant script in ./scripts/ which handles compilation and testing.overhead).  Database operations are not transactional.<br>
</p>
<p>Right now, the only way you get useful data is with the test class<p>Please e-mail me at <a href="mailto:will_sargent@yahoo.com">will_sargent@yahoo.com</a>
<code>ClientTest</code>, which reads in the RDF to a memory model and writesif you have any problems.<br>
out the answer to some queries (like 'what children does the root node</p>
have?').  More is on the way. 
 
<p> 
Will. 

Removed from v.1.7  
changed lines
  Added in v.1.14


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>