How to Boost Your DevOps Efficiency with Hygieia Dashboard: A Comprehensive Installation Guide

Jay
1 min readAug 9, 2021

Hygieia serves as a comprehensive dashboard for DevOps tasks, encompassing functions such as tracking source code-level changes, monitoring test coverage trends, and providing a deployment version history. Its ability to track which artifact versions were deployed to specific environments and when, makes it particularly valuable.

For those looking to install Hygieia on Ubuntu, the following steps are recommended:

## Install NodeJs:
$curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
$sudo apt-get install -y nodejs
## Install 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 &

--

--