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
*[MongoDB server](https://www.mongodb.com/download-center/community) compatible with [Java Driver v3.11](https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/#java-driver-compatibility)
6
-
*[WAS Liberty Profile 19.0.0.9](https://developer.ibm.com/wasdev/downloads/#asset/runtimes-wlp-kernel)
7
-
* Your Liberty runtime must contain the following features which can be installed using `installUtility` as follows: `bin/installUtility install cdi-1.0 servlet-3.0 passwordUtilities-1.0 jaxrs-1.1`
8
-
* A Java 8 JDK
9
-
10
-
Either download `larsServer.zip` from the [Liberty Repository](https://developer.ibm.com/wasdev/downloads/#asset/tools-Liberty_Asset_Repository_Service) and configure `server/gradle.properties` as mentioned in the second step below or build `larsServer.zip` yourself by doing the following:
1
+
# Building LARS
11
2
3
+
* Download all the [Prerequisites](PREREQS.md)
12
4
* Clone this repo
13
5
* Rename `server/gradle.properties.template` to `server/gradle.properties` and edit to point to your MongoDB and Liberty installation directories:
14
6
```libertyRoot=/Users/user/Documents/wlp```
@@ -17,3 +9,5 @@ Either download `larsServer.zip` from the [Liberty Repository](https://developer
17
9
* Look at `test-utils/src/main/resources/config.properties` and check you are happy with the specified test ports
18
10
* Launch Gradle to build the code, run the tests and produce the distribution archives: `gradle build dist`
19
11
* You should now have three files in the `build/distributions` directory: `larsServer.zip`, `larsClient.zip` and `bluemixServer.zip`
12
+
13
+
Now `larsServer.zip` can be [installed, configured and started](INSTALL.md#install-lars-into-liberty)
Copy file name to clipboardExpand all lines: doc/INSTALL.md
+13-2
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,26 @@
1
-
# Installing, configuring and running LARS
1
+
# Downloading, installing, configuring and running LARS
2
+
2
3
LARS is a Java EE application running on top of Liberty and can be
3
4
configured like any other Liberty application. When LARS is installed,
4
5
it creates a new Liberty server called `larsServer`.
5
6
7
+
## Download or Build larsServer.zip
8
+
9
+
Either download `larsServer.zip` from the [Liberty Repository](https://developer.ibm.com/wasdev/downloads/#asset/tools-Liberty_Asset_Repository_Service) or build it yourself following the instructions in [Building LARS](BUILDING.md)
10
+
11
+
Download and install the [Prerequisites](PREREQS.md)
12
+
13
+
## Install LARS into liberty
14
+
6
15
Unzip `larsServer.zip` into the `WLP_USER_DIR` (usually `wlp/usr/`) directory of an existing Liberty 19.0.0.9 (or newer) runtime.
7
16
8
17
Install LARS's pre-requisite features, using
9
18
`installUtility` after extracting the zip:
10
19
`bin/installUtility install larsServer`
11
20
12
-
To configure LARS, edit the files `wlp/usr/servers/larsServer/server.xml` and `wlp/usr/servers/larsServer/bootstrap.properties`.
21
+
## Configure LARS
22
+
23
+
Edit the files `wlp/usr/servers/larsServer/server.xml` and `wlp/usr/servers/larsServer/bootstrap.properties`.
13
24
14
25
For a basic LARS server, you will need to configure the following:
## In order to run LARS you need the following prerequisites
2
+
3
+
*[MongoDB server](https://www.mongodb.com/download-center/community) compatible with [Java Driver v3.11](https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/#java-driver-compatibility)
4
+
*[WAS Liberty Profile 19.0.0.9](https://developer.ibm.com/wasdev/downloads/#asset/runtimes-wlp-kernel) or newer
5
+
* A Java 8 JDK
6
+
7
+
## To build LARS you will additionally require
8
+
9
+
*[Gradle v4.10.2](https://gradle.org/releases/)
10
+
* Your Liberty runtime must contain the following features which can be installed using `installUtility` as follows: `bin/installUtility install cdi-1.0 servlet-3.0 passwordUtilities-1.0 jaxrs-1.1`
0 commit comments