Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

biodiv-archived/biodiv-api

Repository files navigation

Biodiversity API

Prerequisites

  • Java 1.8
  • Postgresql 9.3
  • Elasticsearch 6.0.1 (uncomment http.port: 9200 in config/elasticsearch.yml) → Download
  • Redis 4.0.9 → Download

Editor

Application was primarily developed using Eclipse but it works on Netbeans w/ Gradle Plugin

Configuration

If you don't want to use BIODIV_API_CONFIG environment variable which is not ideal for IDE based development you can update it to load file from classpath

  1. Move @config/biodiv-api.properties to src/main/resources/biodiv-api.properties and update configuration.
  2. update src/main/java/biodiv/BiodivServletContextListener.java
    - config = configs.properties(new File(System.getenv(ENV_NAME)));
    + config = configs.properties(new File("biodiv-api.properties"));

Running

./gradlew clean           # to clean project
./gradlew build           # to test build
./gradlew war             # to build deployable war
./gradlew tomcatRun       # to run application on tomcat

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages