- Timestamp:
- 2021-05-02T22:53:22+12:00 (3 years ago)
- Location:
- main/trunk/model-sites-dev/eurovision-lod
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/eurovision-lod/BUILDING.txt
r35137 r35146 5 5 --------------------------------------- 6 6 7 - 7 -- 8 8 1. Go to your Greenstone3 home directory 9 - 10 source ./gs3-setup.sh 9 -- 11 10 12 11 [Skip if you have already done previously] 13 12 14 - 13 source ./gs3-setup.sh 14 15 16 -- 15 17 2.Go to your eurovision collection directory 16 - 18 -- 17 19 18 cd GSDL3SRCHOME/web/sites/eurovision-lod/collet/eurovision 20 For example: 19 21 20 - 22 cd $GSDL3SRCHOME/web/sites/eurovision-lod/collet/eurovision 23 24 -- 21 25 3. Setup collection/site config settings and unpack import files 22 - 26 -- 27 28 Create a suitable _local_collect_config.sh file from its '.in' counterpart: 23 29 24 30 cp _local_collect_config.sh.in _local_collect_config.sh 25 31 26 For the servlet.xml values previously set (CONFIGURE.txt) no 27 further editing of _local_collect_config.sh is needed. 32 For the servlet.xml values previously set (CONFIGURE.txt) no further 33 editing of _local_collect_config.sh is needed. 34 35 36 -- 37 4. Set the public facing URL for the SPARQL endpoint 38 -- 39 40 41 -- 42 5. Download and untar a copy of the import folder 43 -- 44 [Fast Build Version: TLDR] 45 46 wget https://so-we-must-think.space/greenstone3/sites/eurovision-lod/collect/eurovision/import.tar.gz 47 tar xvzf import.tar.gz 48 49 ./FULL-REBUILD.sh 50 51 28 52 29 53 -
main/trunk/model-sites-dev/eurovision-lod/CONFIGURE.txt
r35136 r35146 5 5 --------------------------------------- 6 6 7 - 7 -- 8 8 1. Go to your Greenstone3 home directory 9 - 9 -- 10 10 source ./gs3-setup.sh 11 11 12 - 12 -- 13 13 2. Check out the Eurovision-LOD Site and Iterface 14 - 14 -- 15 15 16 16 svn co https://svn.greenstone.org/main/trunk/model-sites-dev/eurovision-lod web/sites/eurovision-lod … … 18 18 svn co https://svn.greenstone.org/main/trunk/model-interfaces-dev/eurovision-lod web/interfaces/eurovision-lod 19 19 20 - 20 -- 21 21 3. Update the Greenstone servlet config file so it works with the new eurovision-lod site and interface 22 - 22 -- 23 23 In a text editor, open: 24 24 … … 53 53 54 54 55 - 55 -- 56 56 4. Test out your updated Greenstone3 DL server 57 - 57 -- 58 58 59 59 ant start -
main/trunk/model-sites-dev/eurovision-lod/INSTALL.txt
r35136 r35146 5 5 --------------------------------------- 6 6 7 - 7 -- 8 8 1. Requirements 9 - 9 -- 10 10 Core command-line tools used by Greenstone3 are: 11 11 … … 15 15 libz, imagemagick, wget 16 16 17 Sgvizler2 in the Apache Jena extension uses: 18 19 npm, nodejs 20 21 17 22 These can be installed on a Debian10 distribution, for example, 18 23 with: … … 20 25 sudo apt update 21 26 sudo apt install subversion build-essential openjdk-11-jdk ant libz-dev, imagemagick wget 22 27 sudo apt install npm 28 23 29 For editing config files, our preference is to use emacs: 24 30 25 31 sudo apt install emacs 26 32 27 - 33 -- 28 34 2. Environemts Variable Settings 29 - 35 -- 30 36 For the above Debian10 setup, set the following environment variables: 31 37 … … 38 44 Adjust for your specific environemnt as necessary 39 45 40 - 46 -- 41 47 3. Checkout and Prepare core Greenstone3 system 42 - 48 -- 43 49 svn co https://svn.greenstone.org/main/trunk/greenstone3 greenstone3-svn 44 50 cd greenstone3-svn … … 59 65 <condition property="gs2.opt.args" value="${opt.gnomelibext.arg} --disable-wvware " else="--disable-mg --disable-mgpp --disable-accentfold --disable-gdbm --disable-sqlite"> 60 66 61 - 67 -- 62 68 4. Test you have an operational Greenstone3 base DL server: 63 - 69 -- 64 70 source ./gs3-setup.sh 65 71 ant start … … 75 81 ant stop 76 82 77 - 83 -- 78 84 5. Checkout and compile the Apache Jena Triplestore extension: 79 - 85 -- 80 86 svn co https://svn.greenstone.org/gs2-extensions/apache-jena/trunk/src gs2build/ext/apache-jena 81 87 … … 84 90 popd 85 91 86 - 92 -- 87 93 6. Test your Sparql endpoint: 88 - 94 -- 89 95 Run the Triplestore server: 90 96 91 gs-triplestore-server 97 gs-triplestore-server3 92 98 93 99 In a browser visit: 94 100 95 http://localhost: 3030101 http://localhost:4040 96 102 97 103 Similar note about to the one above in (4) if setup/access is on/to a remote machine 98 104 99 Stop gs-triplestore-server by pressing Control-C105 Stop gs-triplestore-server3 by pressing Control-C 100 106 101 107
Note:
See TracChangeset
for help on using the changeset viewer.