File:  [mozdev] / bookie / www / setup.html
Revision 1.8: download - view: text, annotated - select for diffs - revision graph
Mon Mar 26 08:02:09 2001 UTC (18 years, 5 months ago) by will
Branches: MAIN
CVS tags: HEAD
More fixes.

    1: Setup instructions for Bookie:
    2: 
    3: <p>
    4: If you're just browsing or don't need to edit files directly, you can look
    5: at Bookie through the <a
    6: href="http://www.mozdev.org/source/browse/bookie/">web interface</a>.
    7: 
    8: <p>If you want to contribute to Bookie or compile it, then you should grab a
    9: CVS <a href="http://www.cvshome.com">client</a> and set up a workspace for bookie.
   10: 
   11: <p>You download bookie by doing this (you only need to login once, the password
   12: is guest).
   13: 
   14: <pre>
   15:  cvs -d :pserver:guest@mozdev.org:/cvs login
   16:  cvs -d :pserver:guest@mozdev.org:/cvs co bookie
   17: </pre>
   18: 
   19: <p>You need to have a database set up with a database schema.  Look in
   20: ./sql/solid for an example schema.  
   21: 
   22: <p>The database needs data in order to work.  I wrote /scripts/import.pl
   23: which takes in my bookmarks.html file from Netscape and pumps it into the
   24: database.  The script relies on <code>HTML::Filter</code> and
   25: <code>HTML::TokeParser</code>, which you may need to download from
   26: ActivePerl or CPAN.
   27: 
   28: <p> You can start the server from the root directory with: 
   29: 
   30: <blockquote>
   31: <code>java bookie.xmlrpc.BookieServer -Dbookie.logging=./scripts/logging.properties
   32: -Dbookie.database=./scripts/database.properties</code><br>
   33: </blockquote>
   34: 
   35: <p>There's an Ant script in ./scripts/ which handles compilation and testing.
   36: 
   37: <p>Right now, the only way you get useful data is with the test class
   38: <code>ClientTest</code>, which reads in the RDF to a memory model and writes
   39: out the answer to some queries (like 'what children does the root node
   40: have?').  More is on the way.
   41: 
   42: <p>
   43: Will.

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