1 | ====
|
---|
2 | To build and run this site:
|
---|
3 | ====
|
---|
4 |
|
---|
5 | 1. Check-out a base Greenstone3 system and compile up
|
---|
6 |
|
---|
7 | svn co https://svn.greenstone.org/main/greenstone3 greenstone3-svn-mars
|
---|
8 | cd greenstone3-svn-mars
|
---|
9 |
|
---|
10 |
|
---|
11 | # Optionally, check-out out a 'local' folder for your OS, e.g. for MacOs:
|
---|
12 | svn co https://svn.greenstone.org/local/greenstone3/darwin-64bit local
|
---|
13 |
|
---|
14 | source ./gs3-devel.sh
|
---|
15 |
|
---|
16 | ant
|
---|
17 |
|
---|
18 | # Again, optionally activate the gnome and imagemagick
|
---|
19 | emacs build.properties
|
---|
20 |
|
---|
21 | ant prepare
|
---|
22 |
|
---|
23 | ant install
|
---|
24 |
|
---|
25 | 2. Check-out the 'mars' extension
|
---|
26 |
|
---|
27 | cd ext
|
---|
28 | svn co https://svn.greenstone.org/gs3-extensions/mars-src/trunk mars
|
---|
29 |
|
---|
30 | Follow the details in the Mar extensions README.txt file
|
---|
31 | In essence (for first-time setup):
|
---|
32 | a. Get setup with a Python3 under your own control
|
---|
33 | b. Source its activate script
|
---|
34 | c. Add in (pip install) the specified packages
|
---|
35 | d. Setup up (GSLDL top-level) some symbolic links to make things run more smoothly in the future
|
---|
36 | e. Source the extension's gs3-setup.bash file
|
---|
37 | f. Run the extention's ./CASCADE-MAKE.sh
|
---|
38 | g. Wait a while (NodeJS in particular takes a long time to compile from source)
|
---|
39 |
|
---|
40 | 3. Check-out the 'mars' site and interface
|
---|
41 |
|
---|
42 | Already covered off in the Mars extension README.txt, but if not already done:
|
---|
43 |
|
---|
44 | cd web/sites
|
---|
45 | svn co https://svn.greenstone.org/main/trunk/model-sites-dev/mars
|
---|
46 | cd ../interfaces/
|
---|
47 | svn co https://svn.greenstone.org/main/trunk/model-interfaces-dev/mars
|
---|
48 | cd ../..
|
---|
49 |
|
---|
50 | Now Update:
|
---|
51 | web/WEB-INF/servlet.xsml
|
---|
52 |
|
---|
53 | So the main 'library' servlet specifies the 'mars' site and interface:
|
---|
54 |
|
---|
55 | <init-param>
|
---|
56 | <param-name>site_name</param-name>
|
---|
57 | <param-value>mars</param-value>
|
---|
58 | </init-param>
|
---|
59 | <init-param>
|
---|
60 | <param-name>interface_name</param-name>
|
---|
61 | <param-value>mars</param-value>
|
---|
62 | </init-param>
|
---|
63 |
|
---|
64 | 4. Build the Weka Arousal-Valence model from the DEAM data
|
---|
65 |
|
---|
66 | Follow the instructions in the 'deam' collection README.txt
|
---|
67 | In essence:
|
---|
68 | a. download the files
|
---|
69 | b. process the files
|
---|
70 | c. move up to the right level to train the models
|
---|
71 |
|
---|
72 | Note: there is no need to build this collection
|
---|
73 |
|
---|
74 | 5. Generate the Arousal-Valence prediction values for the 'amc-essentia' collection
|
---|
75 |
|
---|
76 | At the 'mars site' level:
|
---|
77 |
|
---|
78 | ./NOHUP-FOREACH-CSV-APPLY-AV-MODELS.sh
|
---|
79 |
|
---|