Skip to content

comp-bio/UrsusDB

Repository files navigation

BearBase

BearBase simplifies specimen collection management for clinics, zoological institutes, and small hospitals, offering user-friendly virtual fields that enable professionals to create customized databases without complex configurations. Built-in data validation ensures data accuracy, providing a streamlined solution for biologists and zoologists in the field and reducing the need for specialized database expertise.

Table of Contents

Docker

docker run -d -p 9420:9420 -p 9410:9410 oboik/bearbase

After running this command, you will have access to two servers:
http:https://0.0.0.0:9410/ - version for editing and administration (reading and writing)
http:https://0.0.0.0:9420/ - public version (read only). Ready to publish website collection

Installation

To get started with BearBase, follow these steps:

  1. Clone the repository:

    git clone [email protected]:comp-bio/BearBase.git
  2. Change the directory to BearBase:

    cd BearBase
  3. Install the required dependencies:

    # source ./venv/bin/activate
    pip install -r requirements.txt

Quick Start

You can quickly launch BearBase using the following commands:

  • Read-only version:

    python3 run.py server
  • Editable version:

    python3 run.py server -editable Yes
    # database will be available at http:https://127.0.0.1:9400
  • Editable version with a custom database & port:

    python3 run.py server -editable Yes -db Default.library -port 8080
    # database will be available at http:https://127.0.0.1:8080

Development

For development purposes, you can use the following commands:

  • Start a Python server:

    yarn py
  • Run a development server with content hot reload (for development):

    yarn server
  • Build all static content for production:

    yarn build
  • Rebuild static content and remove old build files:

    yarn rebuild

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published