File:  [mozdev] / bookie / www / setup.html
Revision 1.6: download - view: text, annotated - select for diffs - revision graph
Mon Mar 26 07:57:59 2001 UTC (16 years, 8 months ago) by will
Branches: MAIN
CVS tags: HEAD
Added names of import script.


Setup instructions for 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>
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>

You download bookie by doing this (you only need to login once, the password
is guest).

<pre>
 cvs -d :pserver:guest@mozdev.org:/cvs login
 cvs -d :pserver:guest@mozdev.org:/cvs co bookie
</pre>

<p>The database needs data in order to work.  I wrote /scripts/import.pl
which takes in my bookmarks.html file from Netscape and pumps it into the
database.  The script relies on <code>HTML::Filter</code> and
<code>HTML::TokeParser</code> may need to download from ActivePerl or CPAN.

<p>You need to have a database set up with a database schema.  Look in
/sql/solid for an example schema.  It's not too complicated.

<p> You can start the server from the root directory with: <br>
<code>java bookie.xmlrpc.BookieServer -Dbookie.logging=./scripts/logging.properties
-Dbookie.database=./scripts/database.properties</code><br>

<p>There's an Ant script in ./scripts/ which handles compilation and testing.

<p>Right now, the only way you get useful data is with the test class
<code>ClientTest</code>, which reads in the RDF to a memory model and writes
out the answer to some queries (like 'what children does the root node
have?').  More is on the way.

<p>
Will.

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