Annotation of bookie/www/setup.html, revision 1.5
1.1 will 1:
2: Setup instructions for Bookie.
1.2 will 3: <p>
1.1 will 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>.
1.2 will 7: <p>
1.1 will 8: If you want to contribute to Bookie or compile it, then you should grab a
1.4 will 9: CVS <a href="http://www.cvshome.com">client</a> and set up a workspace for bookie.
1.3 will 10: <p>
12: You download bookie by doing this (you only need to login once, the password
13: is guest).
1.1 will 14:
1.2 will 15: <pre>
1.1 will 16: cvs -d :pserver:firstname.lastname@example.org:/cvs login
17: cvs -d :pserver:email@example.com:/cvs co bookie
1.2 will 18: </pre>
1.1 will 19:
1.4 will 20: <p>The database needs data in order to work. I wrote /scripts/import.pl which
1.1 will 21: takes in my bookmarks.html file from Netscape and pumps it into the
1.4 will 22: database. It actually relies on a couple of non-standard modules which you
1.1 will 23: may need to download from ActivePerl or CPAN.
1.4 will 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: <br>
29: <code>java bookie.xmlrpc.BookieServer -Dbookie.logging=./scripts/logging.properties
1.1 will 31:
1.4 will 32: <p>There's an Ant script in ./scripts/ which handles compilation and testing.
1.1 will 33:
1.4 will 34: <p>Right now, the only way you get useful data is with the test class
35: <code>ClientTest</code>, which reads in the RDF to a memory model and writes
36: out the answer to some queries (like 'what children does the root node
37: have?'). More is on the way.
1.1 will 38:
1.5 ! will 39: <p>
1.4 will 40: Will.