source: gs2-extensions/tipple-bridge/trunk/src/README.txt

Last change on this file was 34888, checked in by davidb, 3 years ago

Further details added in over what to do

File size: 1.3 KB
Line 
1Tipple-bridge is a Gradle based project revolving connecting the databases
2of Tipple and Greenstone.
3
4To compile:
5
6 ./gradlew compileJava
7
8To produce a self-contained jar file:
9
10 ./gradlew jar
11
12To run and see usage:
13
14 java -jar build/libs/Tipple-Bridge-1.0-SNAPSHOT.jar --help
15
16To progress any further, you need to setup a MariaDb database
17and populate is Tipple content.
18
19Instructions on how to do that, can be found:
20
21 https://docs.google.com/document/d/1byKTzy30Yv8dLU-MyVwwnfz5eHdL1ItjBX9XpcV8Ucw/edit#heading=h.yj2lo2ttrpa
22
23 With this all done, to start the server:
24
25 mariadbd-safe --port=3306 --datadir=$PWD/data --socket=/tmp/mysqld-$USER.sock
26
27Assuming you have followed those instructions, have a database called 'koicarp_test',
28and a database username called 'foo', then an example use of it is as follows:
29
30 java -jar build/libs/Tipple-Bridge-1.0-SNAPSHOT.jar \
31 --user=foo -p --projectID=3
32
33You will be challenged for the password you set when working through the MariaDB setup (e.g.,
34'changeme').
35
36
37Trouble-shooting
38================
39
40If you are experiencing issues with the Java program trying to connect to the database,
41see if you can connect to the database server form the command-line with:
42
43 mariadb --host=localhost --port=3306 --user=$USER --socket=/tmp/mysqld-$USER.sock koicarp_test
44
45
Note: See TracBrowser for help on using the repository browser.