======================================= | Eurovision -- Let it Sparkle/Sparql | ======================================= | Compilation/Installation | --------------------------------------- -- 1. Requirements -- Core command-line tools used by Greenstone3 are: svn make, autoconf, gcc, g++ libz, imagemagick, wget These can be installed on a Debian10 distribution, for example, with: sudo apt update sudo apt install subversion build-essential libz-dev, imagemagick wget Note 1: Greenstone3 also uses 'javac' and 'ant'. These get installed as part of the process of svn checking out and then installing Greenstone Note 2: For some of the Greenstone extensions this installation makes use of there are some additional command-line tools that it makes use of: npm, nodejs, python3 Similar to 'javac' and 'ant' these get installed as part of the processing of getting the code checked out and installed For editing config files, our preference is to use 'emacs': sudo apt install emacs-nox -- 2. Checkout and Prepare core Greenstone3 system -- svn co https://svn.greenstone.org/main/trunk/greenstone3 greenstone3-svn cd greenstone3-svn # Now get cd ext-cli ./get-selfcontained-jdk.sh ./get-selfcontained-ant.sh ./get-selfcontained-nodejs.sh ./get-selfcontained-python3.sh cd .. source ./gs3-setup-cli.sh To generate a default 'build.properties' ant To prepare and then compile the Greenstone3 code: ant prepare ant install -- 3. Test you have an operational Greenstone3 base DL server: -- ant start In your browser, visit: http://localhost:8383/greenstone3/library ant stop Note: If working on a remote compute, such as a Google Compute Engine, use its console/dashboard to look up the IP number of the machine, and also add in a firewall rule to open up port 8383 If looking for a quick test and you don't want to got through setting up the machine for external access, you can always set up an ssh tunnel. For example: ssh -L 8383:localhost:8383 remoteuser@mydomain.org -- 4. Checkout and compile the Apache Jena Triplestore extension: -- pushd $GSDL3SRCHOME/gs2build/ext ./get-extension.sh apache-jena cd apache-jena/ ./CASCADE-MAKE.sh popd To test out your extension installation, follow the instructions under: "Test Your SPARQL Endpoint" In: gs2build/ext/apache-jena/README.txt -- 5. Checkout and compile the MARS extension -- This extension includes the auduio processing library 'essentia', and important for our use command-line utilities such as 'essentia_streaming_extractor_music' pushd $GSDL3SRCHOME//ext ./get-extension.sh mars cd mars/ ./CASCADE-MAKE.sh # There's a lot to compile for essentia, so this will take a while popd ======== Roadmap: ======== You are now ready to move on to CONFIGURE.txt, where you will checkout and setup the Eurovision-LOD interface and site After that follow BUILDING.txt to populate your collection Eurovision content, and built it.