Mercurial > hg > audiodb
annotate sparql/mod_audiodb/README @ 636:9cda689dcc20
Use an appropriate data copier for the platform's bit width
Dispatch on sb-vm:n-word-bits, though I think sbcl itself should
probably define a system-area-double-float-copy bit-bash function.
This also fixes a thinko, where only half of the times data was being
copied, even on 64-bit platforms. Sheesh. Fixes #32
author | mas01cr |
---|---|
date | Tue, 29 Sep 2009 16:23:42 +0000 |
parents | 881378d8309d |
children |
rev | line source |
---|---|
mas01mj@609 | 1 Quick Installation |
mas01mj@609 | 2 ================== |
mas01mj@609 | 3 |
mas01mj@609 | 4 Requires: apreq2, audioDB, apxs |
mas01mj@609 | 5 |
mas01mj@609 | 6 Ensure that you have something like the following in your httpd.conf: |
mas01mj@609 | 7 |
mas01mj@609 | 8 #LoadModule directive to aid module installations |
mas01mj@609 | 9 #LoadModule dummy_module /usr/lib/apache2/modules/mod_dummy.so |
mas01mj@609 | 10 LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so |
mas01mj@609 | 11 LoadModule audiodb_module /usr/lib/apache2/modules/mod_audiodb.so |
mas01mj@609 | 12 |
mas01mj@609 | 13 Then you should be able to do: |
mas01mj@609 | 14 |
mas01mj@609 | 15 ./autogen.sh |
mas01mj@609 | 16 ./configure |
mas01mj@609 | 17 make |
mas01mj@609 | 18 sudo make install |
mas01mj@609 | 19 |
mas01mj@609 | 20 Configuration |
mas01mj@609 | 21 ============= |
mas01mj@609 | 22 |
mas01mj@609 | 23 To configure the database, add the following to your site configuration: |
mas01mj@609 | 24 |
mas01mj@609 | 25 <Location /sparql> |
mas01mj@616 | 26 DatabasePath "/tmp/test_database.adb" |
mas01mj@609 | 27 SetHandler audiodb-sparql-handler |
mas01mj@609 | 28 </Location> |
mas01mj@609 | 29 |
mas01mj@609 | 30 Where /tmp/test_database.adb is the location of your audioDB database, |
mas01mj@609 | 31 (the file must be readable by the user that apache runs as), and /sparql |
mas01mj@609 | 32 is the path to your endpoint. |
mas01mj@609 | 33 |
mas01mj@609 | 34 Usage |
mas01mj@609 | 35 ===== |
mas01mj@609 | 36 |
mas01mj@609 | 37 Queries may be submitted to the endpoint by GET or POST, with 'query' |
mas01mj@609 | 38 containing the SPARQL query, and 'output' containing either text/json |
mas01mj@609 | 39 or application/sparql-results+xml (the default). A 400 response occurs |
mas01mj@609 | 40 on error. |