Hygieia Install — Dashboard Setup — Jenkins

Hygieia is the all-in-one dashboard for all DevOps related tasks i.e., we can track the source code-level changes, Test coverage trends, and most importantly deployment version history i.e., which version of artifact version deployed to which environment and its deployment time.

Steps to install Hygieia on Ubuntu:

Install NodeJs:

# curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -

# sudo apt-get install -y nodejs

Intall jdk,maven and mongodb:

# sudo apt-get install -y git openjdk-8-jdk maven mongodb

Hygieia core install:

# cd ~

# git clone https://github.com/Hygieia/hygieia-core.git

# cd ~/hygieia-core

# mvn clean install package -DskipTests

# cd ~

# git clone https://github.com/Hygieia/hygieia.git

# cd ~/hygieia

# mvn clean install package -DskipTests

Hygieia API install:

# cd ~

# git clone https://github.com/Hygieia/api.git

# cd api

# mvn install -DskipTests

# cat <<EOF > api.properties

dbname=dashboarddb

dbusername=dashboarduser

dbpassword=dbpassword

dbhost=localhost

dbport=27017

server.port=8080

logRequest=false

logSplunkRequest=false

corsEnabled=false

version.number=0.0.1

pageSize=10

key=[api token]

##End of file

EOF

# cd ~/hygieia/db

# mongo < db-setup.js

Hygieia UI install:

# cd ~

# sudo npm install -g bower

# sudo npm install -g gulp

# cd ~/hygieia/UI

# cat << EOF > npm-shrinkwrap.json

{

“dependencies”: {

“graceful-fs”: {

“version”: “4.2.2”

}

}

}

EOF

# npm install

Starting all services:

# #UI :

# cd ~/hygieia/UI ; nohup gulp serve > ~/uilog.log 2>&1 &

## API:

# cd ~/api/ && nohup java -jar target/api.jar — spring.config.location=./api.properties -Djasypt.encryptor.password=hygieiasecret >apilog.log 2>&1 &