Skip to content

mbari-org/oni

Repository files navigation

oni - Organism Naming Infrastructure

Build

MBARI logo

Overview

This is a project to create a RESTful API for managing the naming of organisms. Currently in development, it is meant to be a replacement for https://github.com/mbari-org/vars-kb-server and https://github.com/mbari-org/vars-user-server.

Usage

This is a normal sbt project. You can compile code with sbt compile, run it with sbt run, and sbt console will start a Scala 3 REPL.

Useful Commands

  1. stage - Build runnable project in target/universal
  2. universal:packageBin - Build zip files of runnable project in target/universal
  3. scaladoc - Build documentation, including API docs to target/docs/site
  4. compile then scalafmtAll - Will convert all syntax to new-style, indent based Scala 3.

Notes

Documentation can be added as markdown files in docs and will be included automatically when you run scaladoc.

When updating SBT version, make sure to update the devcontainer image in devcontainer.json. It's versions are eclipse-temurin-<java.version>_<sbt.version>_<scala.version>

Releases

No releases published

Packages

No packages published