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
Line 
1=======================================
2| Eurovision -- Let it Sparkle/Sparql |
3=======================================
4| Compilation/Installation |
5---------------------------------------
6
7--
81. Requirements
9--
10Core command-line tools used by Greenstone3 are:
11
12 svn
13 make, autoconf, gcc, g++
14 ant, javac
15 libz, imagemagick, wget
16
17Sgvizler2 in the Apache Jena extension uses:
18
19 npm, nodejs
20
21
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
27 sudo apt install npm
28
29For editing config files, our preference is to use emacs:
30
31 sudo apt install emacs
32
33--
342. Environemts Variable Settings
35--
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
46--
473. Checkout and Prepare core Greenstone3 system
48--
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
67--
684. Test you have an operational Greenstone3 base DL server:
69--
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
83--
845. Checkout and compile the Apache Jena Triplestore extension:
85--
86 svn co https://svn.greenstone.org/gs2-extensions/apache-jena/trunk/src gs2build/ext/apache-jena
87
88 pushd gs2build/ext/apache-jena/
89 ./CASCADE-MAKE.sh
90 popd
91
92--
936. Test your Sparql endpoint:
94--
95Run the Triplestore server:
96
97 gs-triplestore-server3
98
99In a browser visit:
100
101 http://localhost:4040
102
103Similar note about to the one above in (4) if setup/access is on/to a remote machine
104
105Stop gs-triplestore-server3 by pressing Control-C
106
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
120
121
122
Note: See TracBrowser for help on using the repository browser.