You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,15 +23,28 @@ Each Triple Pattern Fragment offers:
23
23
This is a **Java** implementation based on Jena.
24
24
25
25
## Build
26
-
Execute the following command to create a WAR file:
26
+
Execute the following command to create a WAR and JAR file:
27
27
```
28
28
$ mvn install
29
29
```
30
+
## Deploy stand alone
31
+
The server can run with Jetty from a single jar as follows:
30
32
31
-
## Deploy
33
+
java -jar ldf-server.jar [config.json]
34
+
35
+
The `config.json` parameters is optional and is default the `config-example.json` file in the same directory as `ldf-server.jar`.
36
+
37
+
## Deploy on an application server
32
38
Use an application server such as [Tomcat](http://tomcat.apache.org/) to deploy the WAR file.
33
39
34
-
Place an `ldf-server.json` configuration file with the data sources (analogous to the example file) in the `../conf` folder relative to the deployed WAR file.
40
+
Create an `config.json` configuration file with the data sources (analogous to the example file) and add the following init parameter to `web.xml`:
41
+
42
+
<init-param>
43
+
<param-name>configFile</param-name>
44
+
<param-value>path/to/config/file</param-value>
45
+
</init-param>
46
+
47
+
If no parameter is set, it looks for a default `config-example.json` in the folder of the deployed WAR file.
35
48
36
49
## Status
37
50
This is software is still under development. It currently only supports:
0 commit comments