Line | |
---|
1 | # Installation
|
---|
2 |
|
---|
3 | This extension can be added to Greenstone3 by running
|
---|
4 |
|
---|
5 | cd web
|
---|
6 | ./INSTALL.sh
|
---|
7 | cd ..
|
---|
8 |
|
---|
9 |
|
---|
10 | # Compilation
|
---|
11 |
|
---|
12 | The extension ships with a ready-to-go JAR/WAR file, and so no
|
---|
13 | compilation is actually needed to install and use webswing
|
---|
14 |
|
---|
15 | However, if you do want to compile up theextension, then you need
|
---|
16 | Maven and NodeJS installed.
|
---|
17 |
|
---|
18 | For example, using version of these command-line tools that are known
|
---|
19 | to work:
|
---|
20 |
|
---|
21 | #
|
---|
22 | # Assuming
|
---|
23 | # ./get-selfcontained-jdk.sh
|
---|
24 | # already done, then ...
|
---|
25 | #
|
---|
26 | # One time only setup
|
---|
27 | #
|
---|
28 | pushd ../../ext-cli
|
---|
29 | ./get-selfcontained-mvn.sh
|
---|
30 | ./get-selfcontained-nodejs.sh
|
---|
31 | popd
|
---|
32 |
|
---|
33 | #
|
---|
34 | # When starting a new terminal
|
---|
35 | #
|
---|
36 | pushd ../..
|
---|
37 | . ./gs3-setup-cli.sh
|
---|
38 | popd
|
---|
39 |
|
---|
40 |
|
---|
41 | # Troubleshooting
|
---|
42 |
|
---|
43 | If you are compiling this up outside of your home directory (say
|
---|
44 | /opt/greenstone3-svn/ext/webswing) then you will need a a directory:
|
---|
45 |
|
---|
46 | /.Trash-$UID
|
---|
47 |
|
---|
48 | for the 'trash' command-line utility to use
|
---|
49 |
|
---|
50 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.