Skip to content

Commit ae791f1

Browse files
committed
Usability improvements
1 parent 20a08f6 commit ae791f1

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,3 +236,4 @@ gradle-app.setting
236236

237237
# End of https://www.toptal.com/developers/gitignore/api/intellij+all,java,macos,gradle,linux
238238
lib/gemma
239+
!/plugins/gemma-plugin-0.1.0.jar

README.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
:warning:
88
Not fully tested yet!
9-
For mapping documents only Gemma is available currently!
109

1110
The mapping service allows multiple schemas to be uploaded and managed and documents to be mapped over one of them at a time accordingly.
1211
Therefore, the service is extensible to other mappers, although currently only Gemma, a service that can only map JSON files, is available.
@@ -22,23 +21,18 @@ Dependencies that are needed to build and are not being downloaded via gradle:
2221

2322
## How to start
2423

25-
> TODO This section is a placeholder. It still needs to be written properly.
24+
`./gradlew bootRun'`
2625

2726
### Prerequisites
28-
29-
You might want to take a look at testbed4inf, which should make it easy to satisfy those.
30-
31-
- Gemma
32-
- Python
33-
34-
### Install Python and Gemma
35-
```
36-
sudo apt install -y python3 python3-pip
37-
pip3 install xmltodict wget
38-
```
39-
40-
41-
## More information
27+
Please make sure the application.properties file is configured correctly.
28+
Espacially the following properties (at the end of the file) are important:
29+
- `mapping-service.pythonLocation=file:///opt/homebrew/bin/python3` \
30+
Enter the loacation of your python3 installation. You can determine it by typing `which python3` in your terminal.
31+
- `mapping-service.mappingsLocation:file:///tmp/mapping-service/` \
32+
Enter the location where you want to store your mappings. This folder will be created if it does not exist yet.
33+
34+
You might want to add a plugin to make the service working. Normally, there should be a gemma-plugin-x.x.x.jar in the plugins folder.
35+
If not, you can find its source code [here](https://github.com/maximilianiKIT/gemma-plugin).
4236

4337
## License
4438

plugins/gemma-plugin-0.1.0.jar

78.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)