File:  [mozdev] / bookie / www / setup.html
Revision 1.7: download - view: text, annotated - select for diffs - revision graph
Mon Mar 26 07:58:51 2001 UTC (19 years, 3 months ago) by will
Branches: MAIN
CVS tags: HEAD
Formatting chagnes.

    2: Setup instructions for Bookie.
    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="">web interface</a>.
    7: <p>
    8: If you want to contribute to Bookie or compile it, then you should grab a
    9: CVS <a href="">client</a> and set up a workspace for bookie.
   10: <p>
   12: You download bookie by doing this (you only need to login once, the password
   13: is guest).
   15: <pre>
   16:  cvs -d login
   17:  cvs -d co bookie
   18: </pre>
   20: <p>The database needs data in order to work.  I wrote /scripts/
   21: which takes in my bookmarks.html file from Netscape and pumps it into the
   22: database.  The script relies on <code>HTML::Filter</code> and
   23: <code>HTML::TokeParser</code> may need to download from ActivePerl or CPAN.
   25: <p>You need to have a database set up with a database schema.  Look in
   26: /sql/solid for an example schema.  It's not too complicated.
   28: <p> You can start the server from the root directory with: 
   30: <blockquote>
   31: <code>java bookie.xmlrpc.BookieServer -Dbookie.logging=./scripts/
   32: -Dbookie.database=./scripts/</code><br>
   33: </blockquote>
   35: <p>There's an Ant script in ./scripts/ which handles compilation and testing.
   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.
   42: <p>
   43: Will.

FreeBSD-CVSweb <>