Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.99 KB

contributing.md

File metadata and controls

35 lines (21 loc) · 1.99 KB

Contributing

Annotorious aims to be a community project - we welcome your involvement!

When contributing, please attempt to match the code style already in the codebase. If you are new to the project, please check out the project Website for the 2.x version of Annotorious first.

If you're new to open source in general, check out GitHub's open source intro guide.

Setup

  1. Install a recent version of Node and npm
  2. Clone this repository
  3. Install project dependencies by running npm install in the project directory

Repository Structure

This repository is a monorepo, which means it contains multiple JavaScript modules. We are using npm workspaces to manage the monorepo.

Main Packages: @annotorious/annotorious and @annotorious/openSeadragon

The main packages are located in these folders:

To start developing, enter the folder, run npm start and point your browser to http://localhost:5173/test/index.html. To compile the distribution bundle, run npm run build.

Furthermore, there these additional modules:

  • packages/annotorious-core. Core components used by both Annotorious and Annotorious OpenSeadragon.
  • packages/annotorious-formats. Additional annotation data formats.
  • packages/annotorious-react. A native React integration for Annotorious and Annotorious OpenSeadragon.