Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.3.x #67

Merged
merged 2 commits into from
Jun 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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