Skip to content

easy-sword2

Build Status

SYNOPSIS

easy-sword2 run-service

DESCRIPTION

EASY SWORD v2 Deposit Service.

See the SWORD2 documentation pages for documentation of the HTTP interface.

ARGUMENTS

Options:

  -h, --help      Show help message
  -v, --version   Show version of this program

Subcommand: run-service - Starts EASY SWORD v2 as a daemon that services HTTP requests
   -h, --help   Show help message
---

INSTALLATION AND CONFIGURATION

Currently this project is built as an RPM package for RHEL7/CentOS7 and later. The RPM will install the binaries to /opt/dans.knaw.nl/easy-sword2 and the configuration files to /etc/opt/dans.knaw.nl/easy-sword2.

To install the module on systems that do not support RPM, you can copy and unarchive the tarball to the target host. You will have to take care of placing the files in the correct locations for your system yourself. For instructions on building the tarball, see next section.

BUILDING FROM SOURCE

Prerequisites:

  • Java 8 or higher
  • Maven 3.3.3 or higher
  • RPM

Steps:

    git clone https://github.com/DANS-KNAW/easy-sword2.git
    cd easy-sword2
    mvn install

If the rpm executable is found at /usr/local/bin/rpm, the build profile that includes the RPM packaging will be activated. If rpm is available, but at a different path, then activate it by using Maven's -P switch: mvn -Pprm install.

Alternatively, to build the tarball execute:

mvn clean install assembly:single