Skip to content

Very simple example for a database holding subject data. The data can be accessed via the TOP Framework.

License

Notifications You must be signed in to change notification settings

Onto-Med/top-example-db

Repository files navigation

top-example-db

This repository contains a simple database schema and example subject data. You can use the provided docker-compose configuration to create a PostgreSQL container and optionally an Adminer container.

The database is used as a simple example setup to test to TOP Framework.

Usage

Follow these instructions to set up the example database:

  1. Clone this repository

     git clone https://github.com/Onto-Med/top-example-db.git
     cd top-example-db
    
  2. Copy docker-compose.env.dist and modify it as needed

     cp docker-compose.env.tpl docker-compose.env
    
  3. Start the containers (you can leave out --profile adminer to just start the database)

     docker compose --profile adminer up -d --build
    

In addition, you can overwrite the following image build arguments by running docker compose build --build-arg ...:

  • N: number of subjects to generate
  • MIN_DATE: minimum birth date

About

Very simple example for a database holding subject data. The data can be accessed via the TOP Framework.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published