Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

cms-PdmV/ValDB2

Repository files navigation

Important

This repository has been migrated to the PPD Technical Support team inside the CERN GitLab instance: ValDB2. Please open and follow issues directly there, do not open or follow them here!

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

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •