Skip to content

Jeffersonktw/portal20

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

TaiBIF (Taiwan Biodiversity Information Facility)

Installing TaiBIF portal

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

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.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

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 35.0%
  • HTML 32.2%
  • Python 14.5%
  • PHP 7.2%
  • CSS 6.0%
  • Less 4.9%
  • Other 0.2%