Installation

System Requirements

DCC Web Application will run on the following systems Windows and Linux (Will also probably run on Macs too but this has not been confirmed.)

The current version requires Java 1.8 installed and the RXTX (Currently tested with 2.2pre2 version) libraries.

For the latest version of java from Java.com

Installing RXTX using instructions from RXTX Web Site

Linux Installation

The RxTx libraries should be installed this can be done simply on debian systems using the following command:

sudo apt-get install librxtx-java

Download the tar.gz file from here.

Untarring the tar.gz file will create the directory dccweb directory.

Within the new dccweb directory is a jar file this can be executed by using the following.

./dcc-webapp-VERSION.jar

or

java -jar dcc-webapp-VERSION.jar

Once started the application will create a default empty database and initialize log file directory.

The jar can also be set to run as a service by using the following command

sudo ln -s INSTALL_DIR/dcc-web/dcc-webapp-VERSION.jar /etc/init.d/dccweb

Windows Installation

Download the zip file from here.

Unzipping this file will create a dccweb directory.

Within the dccweb directory is the dcc-webapp-VERSION.jar file this can be executed by double clicking or by running using a command line.

java -jar dcc-webapp-VERSION.jar

On running the application will initialize itself by create a database and log directory.

Configuration

The dcc web application can be configured by editing the configuration config/application.properties

The http port used can be configured by editing server.port the default is port 8080.

The other settings control the database settings and should be left at the default settings.

The web application can be connected to using any browser using the ip address of the machine the service is running on and the port number configured in server.port.

For example to connect to the service running on the local machine can be connected to using the following url http://127.0.0.1:8080

 

Leave a Reply