Skip to content

Commit 7b1c2fa

Browse files
author
mielvds
committed
Update README.md
1 parent 517bd10 commit 7b1c2fa

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,20 @@ $ mvn install
2929
```
3030
## Deploy stand alone
3131
The server can run with Jetty from a single jar as follows:
32-
java -jar ldf-server.jar [config.json]
32+
33+
java -jar ldf-server.jar [config.json]
3334

3435
The `config.json` parameters is optional and is default the `config-example.json` file in the same directory as `ldf-server.jar`.
3536

3637
## Deploy on an application server
3738
Use an application server such as [Tomcat](http://tomcat.apache.org/) to deploy the WAR file.
3839

3940
Create an `config.json` configuration file with the data sources (analogous to the example file) and add the following init parameter to `web.xml`:
40-
<init-param>
41-
<param-name>configFile</param-name>
42-
<param-value>path/to/config/file</param-value>
43-
</init-param>
41+
42+
<init-param>
43+
<param-name>configFile</param-name>
44+
<param-value>path/to/config/file</param-value>
45+
</init-param>
4446

4547
If no parameter is set, it looks for a default `config-example.json` in the folder of the deployed WAR file.
4648

0 commit comments

Comments
 (0)