BiOME is a self-hostable platform (specifically a LIMS) for managing and analyzing taxonomic occurrence data supporting research in ecology and biodiversity.
In ecology, an occurrence is defined as the reported presence of a specific taxon in one location, at a specific time. Generating occurrences typically involves sampling specimens on the field and sorting the specimen by assigning them a taxonomic identification, either using morphological criteria or molecular barcoding.
-
Install golang >= 1.24
-
Setup
GOBINenvironment variable in your shell profile -
Add it to your
PATHenvironment variable -
Install air to handle hot-reloading of the server:
go install github.com/cosmtrek/air@latest
-
Database setup
- install Gel CLI
- run
gel project initin the project directory
- Client setup
- Install
nodejs >= 23 - Install pnpm
- run
pnpm iin the/clientdirectory
- run
airin the/serverdirectory - run
pnpm devin the/clientdirectory
Add DOCKERHUB_USERNAME and DOCKERHUB_TOKEN to the repository's GitHub Actions secrets. The Docker Hub token must have write access to lsdch/biome-backend and lsdch/biome-frontend.
The backend build checks out the pinned lsdch/huma fork into server/huma. If the fork is private, add a HUMA_READ_TOKEN Actions secret with read access to that repository.
Create a tag on a commit that contains the workflow and push it to GitHub.
git tag -a v1.2.3 -m "Release v1.2.3"
git push git@github.com:lsdch/BiOME.git refs/tags/v1.2.3The workflow runs for tags in the vMAJOR.MINOR.PATCH format and publishes both images with the Git tag as their Docker tag. After both images are pushed, it creates a GitHub release for the same tag with automatically generated release notes. If a release already exists for the tag, the workflow preserves it.