Skip to content

HowToContribute.wiki

Matthew Blissett edited this page Jul 15, 2021 · 22 revisions

How to Contribute

This IPT wiki is no longer maintained. Please refer to this page in the IPT User Manual.

Table of Contents

Introduction

The core development of the IPT is directed by GBIF, but the coding is a community effort and everyone is welcome to join. Java or HTML/jQuery developers are very welcome to contribute code patches. Patches can be submitted by creating a pull request using a branch or fork of the repository.

Source Code Frameworks

Please be aware the IPT uses the following core frameworks:

Prerequisites

The IPT uses Maven to manage dependencies and the build process. MacOS users can use the Homebrew package manager to install Maven. Users of other operating systems can refer to Maven's own installation instructions for help.

Getting the source code

Use Git to checkout the latest version of the code:

$ git clone https://github.com/gbif/ipt.git

Opening the source code in Eclipse

After checking out the source code, you can open the source code in Eclipse by setting up an Eclipse project. To do so, run the following maven commands:

$ cd ipt
$ mvn eclipse:eclipse

The command mvn eclipse:eclipse should have created the project artifacts for eclipse so you can import this folder into your Eclipse editor.

Opening the source code in IntelliJ

After checking out the source code, you can open the project in IntelliJ by simply opening the ipt/ directory in Intellij.

Running the application in Jetty

$ cd ipt
$ mvn -Dmaven.test.skip=true

This command starts up the IPT via the Jetty plugin on port 8080. You should be able to see the IPT running by opening http://localhost:8080 in your web browser.

Clone this wiki locally