Skip to content

Latest commit

 

History

History
87 lines (61 loc) · 2.83 KB

README.md

File metadata and controls

87 lines (61 loc) · 2.83 KB

TaiBIF Portal website 台灣生物多樣資訊入口網站

TaiBIF (Taiwan Biodiversity Information Facility)

Installing TaiBIF portal

To install project, please follow these steps:

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

Frontend

Install nvm

$ nvm install lts/fermium
$ nvm use lts/fermium
$ npm install
$ npm run dev

make translate (english)

$ docker-compose exec web bash
$ python manage.py makemessages -l en
$ python manage.py compilemessages -l en

Installing solr

# 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.9.0/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

Architecture

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. Screen Shot 2021-09-26 at 01 43 49

License

This project uses the following license: MIT license