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!
Validation report database tool of PdmV
- Python >= 3.9
- Node 16
- Yarn 3.3
- Create virtual env for python (optional)
virtualenv env - Install Python dependencies
pip install -r requirements.txt - Install react dependencies
cd react_frontend yarn install cd .. - 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 - Done!
This command will start backend and frontend in development mode. No build required for frontend. Hot-reload is enabled for both.
./run.sh dev
This command will run test for backend. The test file located in tests/ will be executed.
./run.sh test