README.md 1.16 KB
Newer Older
1
2
Prerequisites
=============
Tobias Wich's avatar
Tobias Wich committed
3

Tobias Assmann's avatar
Tobias Assmann committed
4
In order to build the eID-Client aka. client-signer (a derivate of the Open eCard project with an ReQESIDTA addon) some additional tools are needed.
Tobias Wich's avatar
Tobias Wich committed
5

6
Required dependencies are:
7

8
* Java JDK 11 or higher - Oracle JDK and OpenJDK are working correctly (jlink is required for building modular runtime images)
Tobias Wich's avatar
Tobias Wich committed
9

10
11
12
13
14
15
16
* Maven in at least version 3.6.1 (https://maven.apache.org/download.html)

Configure
=========

If the client should communicate with an eID-Server (this means the ReQESIDTA stack) using an self signed certificate in the reverse proxy,
the properties file `addons/reqesidta/src/main/resources/reqesidta/default.properties` must be edited before building.
Tobias Wich's avatar
Tobias Wich committed
17

18
* Change the value of 'validate-server-cert' from 'true' to 'false'.
Tobias Wich's avatar
Tobias Wich committed
19

20
21
Build Sources
=============
Tobias Wich's avatar
Tobias Wich committed
22

23
A standard build is performed by the command:
Tobias Wich's avatar
Tobias Wich committed
24

Tobias Assmann's avatar
Tobias Assmann committed
25
26
27
```bash
mvn clean install
```
Tobias Wich's avatar
Tobias Wich committed
28

29
30
Run the client
==============
Tobias Wich's avatar
Tobias Wich committed
31

32
The build results in a fat jar which can be found under
Tobias Wich's avatar
Tobias Wich committed
33

34
`packager/richclient-bundle/target/richclient-bundle-1.4.0-rc.4-SNAPSHOT.jar`
Tobias Wich's avatar
Tobias Wich committed
35

36
37
38
The jar can now be started with a Java executable version 11 or higher like this
  
  $ java -jar /path/to/richclient-bundle-1.4.0-rc.4-SNAPSHOT.jar