-
Notifications
You must be signed in to change notification settings - Fork 2
Setup
Pedro Guimarães edited this page Dec 7, 2015
·
11 revisions
###In order to build and run the API, you need to fill the basic requirements:
-
Create a database using lontra-harvester instructions, based on Liquibase and liger-data-access;
-
Populate your database using lontra-harvester tool connected to IPT instances in order to harvest and index DwC-A data;
- Clone this project's repository
git clone https://github.com/sibbr/api/
-
Configure database connection
- Edit DatabaseConnection.java file to provide connection information to the database
-
Configure certificate information for SSL
- Edit application.properties file to provide ssl server information
Note: the default SSL port used is 8444.
-
Build the project. On the command line:
mvn clean package
-
Run the application. On the command line:
java -jar api-{version}.jar