Skip to content

Commit

Permalink
Merge pull request #67 from bd2kccd/v1.3.x
Browse files Browse the repository at this point in the history
V1.3.x
  • Loading branch information
kvb2univpitt authored Jun 6, 2017
2 parents e110bcf + 2fbc95b commit 24f9796
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,26 @@ Download and uncompress the source code for each of following dependencies:

* [ccd-job-queue-0.1.8](https://github.com/bd2kccd/ccd-job-queue/releases/tag/v0.1.8)
* [ccd-mail-0.2.4](https://github.com/bd2kccd/ccd-mail/releases/tag/v0.2.4)
* [ccd-db-0.6.5](https://github.com/bd2kccd/ccd-db/releases/tag/v0.6.5)
* [ccd-db-0.6.6](https://github.com/bd2kccd/ccd-db/releases/tag/v0.6.6)
* [ccd-commons-0.3.1](https://github.com/bd2kccd/ccd-commons/releases/tag/v0.3.1)
To install the dependencies, go to the top directory of each project and do a maven install by typing **mvn install**.

#### Application
Download and uncompress the application source code [causal-web-1.3.5](https://github.com/bd2kccd/causal-web/releases/tag/v1.3.4). To compile and build the application, go to the directory **causal-web-1.3.5** and type **mvn package**.
Download and uncompress the application source code [causal-web-1.3.6](https://github.com/bd2kccd/causal-web/releases/tag/v1.3.6). To compile and build the application, go to the directory **causal-web-1.3.6** and type **mvn package**.

#### External Dependencies
* [causal-cmd-0.2.0-jar-with-dependencies.jar](https://github.com/bd2kccd/causal-cmd/releases/tag/v0.2.0)
* [causal-cmd-0.2.1-jar-with-dependencies.jar](https://github.com/bd2kccd/causal-cmd/releases/tag/v0.2.1)

## Configure the software

### Setup the directory structure and copy libraries
First, you need to create a workspace for the application to work in. Create a directory called **workspace**, for an example ***/home/tuser/workspace***.
Inside the workspace directory, create another folder called **lib**, for example ***/home/tuser/workspace/lib***.

Copy the **causal-cmd-0.2.0-jar-with-dependencies.jar** to the **workspace/lib** folder.
Copy the **causal-cmd-0.2.1-jar-with-dependencies.jar** to the **workspace/lib** folder.

### Configure
There are 4 configuration files to configure located in causal-web-1.3.5/src/main/resources folder:
There are 4 configuration files to configure located in causal-web-1.3.6/src/main/resources folder:
1. **application-hsqldb.properties**: HSQLDB database configurations (for testing only).
2. **application-mysql.properties**: MySQL database configurations
3. **application.properties**: Spring Boot configurations
Expand Down Expand Up @@ -74,15 +74,15 @@ spring.profiles.active=scheduler,mysql
Make sure you set **ccd.server.workspace=/home/tuser/workspace** and **ccd.folder.lib=lib** in the **ccd.properties** file.

## Compile the Program
Go to the **causal-web** directory and run the command **mvn clean package**. This will create a jar file called **causal-web-1.3.5.jar** in the **/target** folder.
Go to the **causal-web** directory and run the command **mvn clean package**. This will create a jar file called **causal-web-1.3.6.jar** in the **/target** folder.

### Launch the Program
```java
java -jar causal-web-1.3.5.jar
java -jar causal-web-1.3.6.jar
```
To give the program 4GB of memory to run on, type the follow, using the jvm options:
```java
java -Xmx4G -jar causal-web-1.3.5.jar
java -Xmx4G -jar causal-web-1.3.6.jar
```

To launch app in the browser
Expand Down

0 comments on commit 24f9796

Please sign in to comment.