Skip to content
forked from cms-PdmV/ValDB2

Validation report database tool of PdmV

Notifications You must be signed in to change notification settings

AdrianoDee/ValDB2

 
 

Repository files navigation

ValDB2

Validation report database tool of PdmV

Prerequisites

  • Python >= 3.9
  • Node 16
  • Yarn 3.3

Installation

  1. Create virtual env for python (optional)
    virtualenv env
    
  2. Install Python dependencies
    pip install -r requirements.txt
    
  3. Install react dependencies
    cd react_frontend
    yarn install
    cd ..
    
  4. Configure database connection. For properly displaying of attachments, set the environment variable HOST_URL with the public entrypoint to the application.
    cp template.env .env
    nano .env
    
  5. Done!

Run Development

This command will start backend and frontend in development mode. No build required for frontend. Hot-reload is enabled for both.

./run.sh dev

Run Test

This command will run test for backend. The test file located in tests/ will be executed.

./run.sh test

About

Validation report database tool of PdmV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 43.5%
  • TypeScript 37.8%
  • Jupyter Notebook 14.8%
  • HTML 1.9%
  • CSS 1.1%
  • Shell 0.6%
  • Dockerfile 0.3%