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, 11 months ago) by will
Branches: MAIN
CVS tags: HEAD
Added names of import script.

Setup instructions for Bookie.
If you're just browsing or don't need to edit files directly, you can look
at Bookie through the <a
href="">web interface</a>.
If you want to contribute to Bookie or compile it, then you should grab a
CVS <a href="">client</a> and set up a workspace for bookie.

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

 cvs -d login
 cvs -d co bookie

<p>The database needs data in order to work.  I wrote /scripts/
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/

<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.


FreeBSD-CVSweb <>