Getting Started Windows - Gadreel/divconq GitHub Wiki

By default we assume you will run all components of the demo on same computer. If you plan to run the demo on separate computers be sure to visit [Getting Started Config](Getting Started Config).

Step 1) Get Java 8 SE

[JRE 8 Download] (http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html)

Step 2) Set JAVA_HOME

  • Open System Properties Dialog (> Start > Control Panel > System and Security > System > Advanced System Settings)
  • Select the Advanced tab and click the Environment Variables button.
  • Add a new system variable (Click the button "New..." under System variables section) give the variable name “JAVA_HOME” and the variable value should be the path to the JRE folder which is typically "C:\Program Files\Java\jre8". Now click OK for the new variable and OK for the Environmental Variables and OK for System Properties.
  • Close the properties window and control panel.

Step 3) Install Java Cryptography Extension

Download and install the [Java Cryptography Extension] (http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html) which enables high strength cryptography.

Step 4) Firewall configuration

Check that your firewall will allow listening on the following ports:

  • dcFileServer needs 8443
  • dcFileGateway needs 4443, 7443 and 7444
  • dcFileTasks needs 6443

Step 5) Download DivConq Demo Server

[File Server Demo] (https://github.com/Gadreel/divconq/releases/download/divconq-core-0.9.5/FileServerDemo-0.9.5-bin.zip)

Step 6) Setup Demo Servers

If you plan to install all 4 applications on the same box just to see them all run, rather than setting up 4 boxes as would naturally occur in a real deployment, then please just use the simple setup. If you are doing multiple boxes then please review the manual setup.

Simple Setup
  1. Expand demo ZIP into a folder such as C:\temp
  2. Pick a location for your applications, for example pick C:\divconq which will result in a folder structure like this.
  • C:\divconq\dcFileServer
  • C:\divconq\dcFileGateway
  • C:\divconq\dcFileClient
  • C:\divconq\dcFileTasks
  1. Don't bother creating C:\divconq, just run the prepdemo file like this (assuming you expanded into c:\temp).
  • C:\temp\FileServerDemo-0.9.5-bin>prepdemo.bat C:\divconq
Manual Setup

Expand the demo four times, once for each application.

  1. Expand demo ZIP into a folder such as C:\dcFileServer
  2. Expand demo ZIP into a folder such as C:\dcFileGateway
  3. Expand demo ZIP into a folder such as C:\dcFileClient
  4. Expand demo ZIP into a folder such as C:\dcFileTasks

Configure dcFileServer

Copy .\config\dcFileServer\env.bat to .\env.bat

C:\dcFileServer>copy .\config\dcFileServer\env.bat 

Configure dcFileGateway

Copy .\config\dcFileGateway\env.bat to .\env.bat

C:\dcFileGateway>copy .\config\dcFileGateway\env.bat 

Configure dcFileClient

Copy .\config\dcFileClient\env.bat to .\env.bat

C:\dcFileClient>copy .\config\dcFileClient\env.bat 

Configure dcFileTasks

Copy .\config\dcFileTasks\env.bat to .\env.bat

C:\dcFileTasks>copy .\config\dcFileTasks\env.bat 

Review addition configuration requirements at this link [Getting Started Config](Getting Started Config).

Step 7) Run the Applications

Return to [Getting Started](Getting Started) to find instructions to run the applications.