Skip to content

VPManske/pluggedin-metrics

 
 

Repository files navigation

Pillar PluggedIn - Metrics

This sample app demonstrates how you can plug metrics into your exisitng Java application.

Development

Make sure you have NodeJS 4.5+ installed. To install the frontend dev tools, run:

npm install

Gulp is used as the frontend build system. To install gulp globally, run:

npm install -g gulp-cli

Maven 3+ is required to build the application. To start spring with the dev profile, run:

mvn spring-boot:run

To start the frontend for development, run:

gulp serve

Using Docker

Docker and Docker Compose are utilized to run the application in a production environment. Docker v1.10+ and Docker Compose v1.8+ are required.

To fully dockerize the application and all the services that it depends on, run:

mvn clean verify -Pprod docker:build

Then run:

docker-compose -f src/main/docker/app.yml up

Or:

docker-compose -f src/main/docker/app.yml up -d

To run as a daemon.

To stop & remove the daemon, run:

docker-compose -f src/main/docker/app.yml down

About

Sample App for the Pillar PluggedIn event

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 30.7%
  • Java 21.9%
  • HTML 20.2%
  • CSS 14.7%
  • TypeScript 12.5%