File:  [mozdev] / bookie / www / setup.html
Revision 1.14: download - view: text, annotated - select for diffs - revision graph
Mon Apr 14 07:42:47 2003 UTC (14 years, 7 months ago) by will
Branches: MAIN
CVS tags: HEAD
Make the setup page at least not have horrible errors in it.

Setup instructions for compiling and running Bookie:
<p>If you're just browsing or don't need to edit files directly, you
can look at Bookie through the <a
 href="http://www.mozdev.org/source/browse/bookie/">web interface</a>. </p>
<p>If you want to contribute to Bookie or compile it, then you should
grab a CVS <a href="http://www.cvshome.com">client</a> and set up a
workspace for bookie.</p>
<p>You download bookie by doing this (you only need to login once, the
password is guest).  Please use the prune option when checking out and
updating, since the CVS tree has a lot of dead branches in it.</p>
<code> cvs -d :pserver:guest@mozdev.org:/cvs login <br>
</code> <code>cvs -d :pserver:guest@mozdev.org:/cvs co bookie -dP<br>
</code>
<p>The java client is in <code>/clients/swing</code>.  There is an <a
 href="http://jakarta.apache.org/ant">ant</a> script that should compile
everything.&nbsp; The client's main class is <code>com.tersesystems.bookie.client.Client</code>.<br>
</p>
<p>The java server is in <code>/server</code>.  Again, the <a
 href="http://jakarta.apache.org/ant">ant</a> script that should compile
everything.  The server's main class is <code>com.tersesystems.bookie.service.xmlrpc.BookieServlet</code>.</p>
<p> The server will create four files on initialization in the current
directory: </p>
<ul>
  <li>profile.db - a database of profile information.</li>
  <li>profile.idx - an index of profile.db</li>
  <li>bookmarks.db - a database of bookmarks information.</li>
  <li>bookmarks.idx - an index of bookmarks.db</li>
</ul>
These databases contain all the information needed for the server to
work.  Deleting   these files will cause the server to start off fresh.
<p> </p>
<p> Bookmarks are cached on the server, but since bookmarks are unique
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
overhead).  Database operations are not transactional.<br>
</p>
<p>Please e-mail me at <a href="mailto:will_sargent@yahoo.com">will_sargent@yahoo.com</a>
if you have any problems.<br>
</p>

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