source: gs2-extensions/afrepo/trunk/src/src/DONE.txt@ 27968

Last change on this file since 27968 was 27968, checked in by davidb, 11 years ago

4store server needs to be run with -X to 'enable public cross-origin resource sharing (CORS) support'

File size: 1.3 KB
RevLine 
[27289]1
2
3****
4* Afrepo extension now installed in
5* GEXTAMP_INSTALLED=@GEXTAMP_INSTALLED@
6*
7* Place audio files in:
[27599]8* $GEXTAMP_INSTALLED/htdocs/afrepo/audio-files
[27289]9*
101. Run:
[27611]11* afr-makelinks
12* to populate:
13* $GEXTAMP_INSTALLED/htdocs/afrepo/audio-ids
14* with MD5 hashmap based on content in 'audio-files'
[27289]15*
162. Followed by:
[27611]17* afr-classify-echoprint
[27289]18* to associate (where possible) Echonoest and/or MusicBrainz Linked Data
19* with each MD5 hashmapped audio file
[27611]20* (this can be re-run as many times as needed to pick up on fingerprints that timed out)
[27289]21*
223. Next run in sequence
[27611]23* 4s-backend-setup salami
24* 4s-backend salami
[27968]25* 4s-httpd -p @4store-port@ -X salami
[27611]26* to initialize and start the 4store 'tripple-store' server
27* ('4s-backend-setup' need only be run the very first time)
28* To stop the server use 'kill' on the process ID *without* the -9 flag
[27289]29*
304. And then run:
[27616]31* afr-generate-rdf
[27611]32* to generate static RDF files and populate the tripple-store backend
33* (the latter is to support Sparql queries)
[27289]34*
[27689]35* If the static RDF files already exist but the tripple-store has been cleared, then run:
36* afr-generate-rdf --force
37* to ensure all the RDF data is pushed across to the tripple-sore
38*
[27289]395. Finally, run:
[27611]40* apchectl start
[27289]41*
42* And in a web browser load up the URL:
43* @afrepo-http-prefix@/afrepo
44****
45
Note: See TracBrowser for help on using the repository browser.