https://github.com/biodiversitydata-se/specify-to-gbif
https://github.com/biodiversitydata-se/specify-to-gbif
docker docker-compose
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/biodiversitydata-se/specify-to-gbif
- Owner: biodiversitydata-se
- License: agpl-3.0
- Created: 2020-02-25T13:13:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-12T13:07:09.000Z (over 2 years ago)
- Last Synced: 2025-09-09T19:47:54.973Z (10 months ago)
- Topics: docker, docker-compose
- Language: Java
- Size: 88.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# specify-to-gbif
[](https://travis-ci.com/Naturhistoriska/specify-to-gbif)
[](https://codecov.io/gh/Naturhistoriska/specify-to-gbif)
[](http://www.gnu.org/licenses/agpl-3.0)
Processing data from Solr to GBIF.
## Prerequisites
* docker
* java 8
* maven 3
* mysql
* solr8 (See repo specify-to-dwc)
## Project setup
* Clone this repo
* Setup database
* Find database schemas from data directory, and import schemas into mysql
* Setup project-initdata.yml
* In root directory, create project-initdata.yml.
* Config project-initdata.yml file solr instance path and mysql database.
## Build image
In root directory, run:
```
mvn clean package
cd specify-solr-service
make build
```
# Start image
After build image, run:
```
docker-compose up -d
```
# Run image:
curl -X GET 'http://localhost:8080/run?inst={institutionCode}&coll={collectionCode}&from={fromDate}&to={toDate}'
Example: curl -X GET 'http://localhost:8080/run?inst=nrm&coll=NHRS&from=2018-02-14&to=2018-02-15'