Skip to content

Installation Instructions

Amol Sangar edited this page Feb 10, 2022 · 3 revisions

This page contains the installation instructions for our project

Prerequisites for the application

  • NodeJS
  • Jenkins (For CI)
  • Java 11
  • MySql version 8
  • MongoDB
  • Angular
  • Bootstrap

Authentication Micro service Installation

To run the service/server

cd ./p1-auth-service
npm install
npm start

Gateway Micro service installation instruction

To run the following service/server

cd ./p1-gateway-service
npm install
npm start

User History Micro service Installation Instruction

  • Run the sql file : create.sql using the command line
source <path to create.sql file>
  • Once the database and table have been created, run the below command
java -jar <path to SpringBootSearchServiceProject-0.0.1-SNAPSHOT.jar>

Profile Micro Service Installation Instruction

To run the following service/server

cd ./p1-profile-service
npm install
npm start

Radar Micro Service

Install virtual enviroment package

python -m pip install --user virtualenv

Create environment

Windows: py -m venv env
Ubuntu: python3 -m venv env

Activate environment

Windows: .\env\Scripts\activate
Ubuntu: source env/bin/activate

Check if inside the venv

where python

Install packages

  • Instal Numpy first (Required to install Py-ART)
pip install numpy
pip install -r requirements.txt

Run

py server.py

User Interface Installation Instructions

Navigate to the Project Directory

cd /p1-ui

Install the dependencies

npm install

Start the server

npm start