source: main/trunk/model-sites-dev/eurovision-lod/INSTALL.txt@ 35915

Last change on this file since 35915 was 35146, checked in by davidb, 3 years ago

Latest round of update to text

File size: 2.7 KB
RevLine 
[35131]1=======================================
2| Eurovision -- Let it Sparkle/Sparql |
3=======================================
4| Compilation/Installation |
5---------------------------------------
[35130]6
[35146]7--
[35130]81. Requirements
[35146]9--
[35130]10Core command-line tools used by Greenstone3 are:
11
12 svn
13 make, autoconf, gcc, g++
14 ant, javac
15 libz, imagemagick, wget
16
[35146]17Sgvizler2 in the Apache Jena extension uses:
18
19 npm, nodejs
20
21
[35130]22These can be installed on a Debian10 distribution, for example,
23with:
24
25 sudo apt update
26 sudo apt install subversion build-essential openjdk-11-jdk ant libz-dev, imagemagick wget
[35146]27 sudo apt install npm
28
[35130]29For editing config files, our preference is to use emacs:
30
31 sudo apt install emacs
32
[35146]33--
[35130]342. Environemts Variable Settings
[35146]35--
[35130]36For the above Debian10 setup, set the following environment variables:
37
38 export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
39 export PATH=$JAVA_HOME/bin:$PATH
40
41 export CFLAGS=-fPIC
42 export JAVACFLAGS="-source 1.6 -target 1.6"
43
44Adjust for your specific environemnt as necessary
45
[35146]46--
[35130]473. Checkout and Prepare core Greenstone3 system
[35146]48--
[35130]49 svn co https://svn.greenstone.org/main/trunk/greenstone3 greenstone3-svn
50 cd greenstone3-svn
51
52To generate a default 'build.properties'
53
54 ant
55
56To check out GS2 building code:
57
58 ant prepare
59
60
61Edit build.xml line 722 from:
62
63 <condition property="gs2.opt.args" value="${opt.gnomelibext.arg} " else="--disable-mg --disable-mgpp --disable-accentfold --disable-gdbm --disable-sqlite">
64to:
65 <condition property="gs2.opt.args" value="${opt.gnomelibext.arg} --disable-wvware " else="--disable-mg --disable-mgpp --disable-accentfold --disable-gdbm --disable-sqlite">
66
[35146]67--
[35136]684. Test you have an operational Greenstone3 base DL server:
[35146]69--
[35130]70 source ./gs3-setup.sh
71 ant start
72
73In your browser, visit:
74
75 http://localhost:8383/greenstone3/library
76
77If working on a remote compute, such as a Google Compute Engine, use its console/dashboard
78to look up the IP number of the machine, and also add in a firewall rule to open up
79port 8080
80
81 ant stop
82
[35146]83--
[35132]845. Checkout and compile the Apache Jena Triplestore extension:
[35146]85--
[35131]86 svn co https://svn.greenstone.org/gs2-extensions/apache-jena/trunk/src gs2build/ext/apache-jena
[35130]87
[35131]88 pushd gs2build/ext/apache-jena/
89 ./CASCADE-MAKE.sh
90 popd
[35130]91
[35146]92--
[35132]936. Test your Sparql endpoint:
[35146]94--
[35131]95Run the Triplestore server:
[35130]96
[35146]97 gs-triplestore-server3
[35131]98
99In a browser visit:
[35130]100
[35146]101 http://localhost:4040
[35130]102
[35132]103Similar note about to the one above in (4) if setup/access is on/to a remote machine
[35131]104
[35146]105Stop gs-triplestore-server3 by pressing Control-C
[35131]106
[35132]107
108========
109Roadmap:
110========
111
112You are now ready to move on to CONFIGURE.txt, where you will checkout and
113setup the Eurovision-LOD interface and site
114
115After that follow BUILDING.txt to populate your collection Eurovision
116content, and built it.
117
118
119
[35131]120
121
122
Note: See TracBrowser for help on using the repository browser.