Mercurial > hg > audiodb
changeset 609:368320b31db6
Added some README info.
author | mas01mj |
---|---|
date | Fri, 21 Aug 2009 15:23:32 +0000 |
parents | 548bfaa1b0ff |
children | e21a3db643af |
files | sparql/librdf/README sparql/mod_audiodb/README |
diffstat | 2 files changed, 56 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sparql/librdf/README Fri Aug 21 15:23:32 2009 +0000 +++ b/sparql/librdf/README Fri Aug 21 15:23:32 2009 +0000 @@ -0,0 +1,16 @@ +Quick Installation +================== + +Requires: librdf, audioDB. + +Compilation should just be: + +./autogen.sh +./configure +make +sudo make install + +The storage module will then be installed in your lib/redland directory, +with the storage creatable with the 'audiodb' type, a la: + +storage = librdf_new_storage(world, "audiodb", "mydb.adb", NULL);
--- a/sparql/mod_audiodb/README Fri Aug 21 15:23:32 2009 +0000 +++ b/sparql/mod_audiodb/README Fri Aug 21 15:23:32 2009 +0000 @@ -0,0 +1,40 @@ +Quick Installation +================== + +Requires: apreq2, audioDB, apxs + +Ensure that you have something like the following in your httpd.conf: + +#LoadModule directive to aid module installations +#LoadModule dummy_module /usr/lib/apache2/modules/mod_dummy.so +LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so +LoadModule audiodb_module /usr/lib/apache2/modules/mod_audiodb.so + +Then you should be able to do: + +./autogen.sh +./configure +make +sudo make install + +Configuration +============= + +To configure the database, add the following to your site configuration: + +DatabasePath "/tmp/test_database.adb" +<Location /sparql> + SetHandler audiodb-sparql-handler +</Location> + +Where /tmp/test_database.adb is the location of your audioDB database, +(the file must be readable by the user that apache runs as), and /sparql +is the path to your endpoint. + +Usage +===== + +Queries may be submitted to the endpoint by GET or POST, with 'query' +containing the SPARQL query, and 'output' containing either text/json +or application/sparql-results+xml (the default). A 400 response occurs +on error.