Skip to content

ELEVATE-Project/template-validation-portal-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

template-validation-portal-service

Repository for backend service of Data upload and Validation tool

Code pushes to be done in the dev branch only.

Requirements

  1. Python dependencies
  2. MongoDB data restore

Python dependencies

There are two ways to install python dependencies :-

  1. Conda and environment.yml file (recommended):-
conda env create -f environment.yml
conda activate templateValidation

Note :- Please refer to below link for installing conda in ubuntu

https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html

  1. Virtual env and requirement.txt file :-
python -m venv env_name
source env_name/bin/activate
pip install -r requirements.txt

MongoDB data restore

Use following command to restore mongoDB dump :-

cd data
mongorestore --host localhost --port 27017 --db templateValidation --gzip ./

Execution

cd apiServices/src/main/
python app.py

About

Repo for backend service of Data upload and Validation tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages