TaiBIF (Taiwan Biodiversity Information Facility)
To install project, please follow these steps:
prepare the environment: mv dotenv.example .env
Development:
docker-compose -f docker-compose.yml -f docker-compose-develop.yml build
docker-compose -f docker-compose.yml -f docker-compose-develop.yml up -d
Install nvm
$ nvm install lts/fermium
$ nvm use lts/fermium
$ npm install
$ npm run dev
$ docker-compose exec web bash
$ python manage.py makemessages -l en
$ python manage.py compilemessages -l en
# In project repo directory
$ docker-compose exec solr bash
# In solr docker
$ bin/solr create_core -c taibif_occurrence
$ cp /workspace/conf-taibif-occur/taibif_occurrence/managed-schema /var/solr/data/taibif_occurrence/conf/
$ cp /workspace/conf-taibif-occur/taibif_occurrence/solrconfig.xml /var/solr/data/taibif_occurrence/conf/
$ cp /workspace/jts-core-1.18.1.jar /opt/solr-8.11.1/server/solr-webapp/webapp/WEB-INF/lib
# In project repo directory
$ docker-compose restart solr
$ docker-compose exec solr bash
$ post -c taibif_occurrence /workspace/conf-taibif-occur/taibif_occurrence/file.csv
Solr Source data fram TaiBIF IPT.
gbif/ipt: GBIF Integrated Publishing Toolkit (IPT): The Integrated Publishing Toolkit (IPT) is a free, open source software tool used to publish and share biodiversity datasets through the GBIF network.
This project uses the following license: MIT license