Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.98 KB

INSTALL.md

File metadata and controls

39 lines (25 loc) · 1.98 KB

INSTALL

Compiling from latest source

git, JDK 11 (or later) and Apache Maven are required.

In addition, installation instructions for PubFetcher have to be followed beforehand to ensure PubFetcher dependencies are installed in the local Maven repository.

Execute:

$ cd ~/foo/bar/
$ git clone https://github.com/edamontology/edammap.git
$ cd edammap/
$ git checkout develop
$ mvn clean install

EDAMmap can now be run with:

$ java -jar ~/foo/bar/edammap/target/edammap-cli-<version>.jar -h
$ java -jar ~/foo/bar/edammap/target/edammap-server-<version>.jar -h
$ java -jar ~/foo/bar/edammap/target/edammap-util-<version>.jar -h

A packaged version of EDAMmap can be found as ~/foo/bar/edammap/dist/target/edammap-<version>.zip.

Compiling latest release

Same as previous section, except git checkout develop must be replaced with git checkout master.

Using a pre-compiled release

Pre-built releases can be found from https://github.com/edamontology/edammap/releases. A downloaded release package can be unzipped in the desired location, where edammap-cli-<version>.jar, edammap-server-<version>.jar and edammap-util-<version>.jar can again be run with java -jar.

Dependencies

By default, Selenium WebDriver is used to get the content of web pages that require JavaScript. Currently, only the Firefox driver is supported, meaning that Firefox needs to be installed (or the firefox executable available somewhere and pointed to with --seleniumFirefox /path/to/firefox), otherwise EDAMmap will fail to start. If this not desirable, then usage of Selenium can be disabled with --selenium false, in which case the included HtmlUnit library will be used instead (however, this will be slower and with worse quality results).