======================================= | Eurovision -- Let it Sparkle/Sparql | ======================================= | Preparing and Building ESC content | --------------------------------------- -- 1. Go to your Greenstone3 home directory -- [Skip if you have already done previously] source ./gs3-setup.sh -- 2.Go to your eurovision collection directory -- For example: cd $GSDL3SRCHOME/web/sites/eurovision-lod/collet/eurovision -- 3. Setup collection/site config settings and unpack import files -- Create a suitable _local_collect_config.sh file from its '.in' counterpart: cp _local_collect_config.sh.in _local_collect_config.sh For the servlet.xml values previously set (CONFIGURE.txt) no further editing of _local_collect_config.sh is needed. -- 4. Set the public facing URL for the SPARQL endpoint -- If you are operating a remote server for the DL install (i.e. not localhost) then there are 3 places you need edit to specify the domain name (or IP number) you are using: In the following we assume the domain name of the server is 'mydomain.org' 4.1:Edit js/eurovision.js Near the bottom of this JavaScript file, find the line: var endpoint_url="//localhost:4040/greenstone/query"; // **** External IP? **** And change to: var endpoint_url="//mydomain.org:4040/greenstone/query"; // **** External IP? **** 4.2: Edit transform/layout/header.xsl Change: localhost:4040 http://localhost:8383 http://localhost:4040 To: mydomain.org:4040 http://mydomain.org:8383 http://mydomain.org:4040 -- 5. Download and untar a copy of the import folder -- [Fast Build Version: TLDR] wget https://so-we-must-think.space/greenstone3/sites/eurovision-lod/collect/eurovision/import.tar.gz tar xvzf import.tar.gz export FULL_GREENSTONE_URL_PREFIX=http://mydomain.org/greenstone3/library ./FULL-REBUILD.sh