Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.74 KB

README.md

File metadata and controls

59 lines (45 loc) · 1.74 KB

Micrometer / Prometheus showcase

Small project, showcasing micrometer (together wir Prometheus), written using Angular (for training purposes - never used it before :-) ).

Getting Started

Prerequisites

  • Java 8 SDK
  • Docker + Docker-Compose (optional, in case you want to run Prometheus and Grafana)
  • Node.js / npm (optional if you are using Docker)
  • Angular client cli (optional if you are using Docker) Once you need to download required decencies via
npm install

within the angularclient directory

Start using docker

To build the application, and start it (together with Prometheus, Grafana and some other helpfull services)

docker-compose up

To stop the application run

docker-compose down

When having done changes run docker-compose build or add --build as parameter when running docker-compose up, to include those changes.

when the containers are running you can access the following:

Start backend using gradle

If you only want to run the application without the containers you can simply start the Application class via your IDE or start the the jar, build via running

./gradlew bootJar

Start the frontend

To start the frontend run

ng serve --open

within the angularclient directory.