Microservice Architecture with Spring Boot, Spring Cloud, and Docker — piggymetrics

Posted by

Let’s run piggymetrics

1. Clone the code from git:

git clone https://github.com/sqshq/piggymetrics.git

2. Install Maven && Docker

https://maven.apache.org/
https://www.docker.com/

3. Compile

Switch to the PiggyMetrics project directory and execute the mvn package -DskipTests command packaging service

After the compilation and packaging are completed, a jar package is generated under the target directory of each subproject.

4. TEST

Under PiggyMetrics run cmd docker-compose -f docker-compose.yml -f docker-compose.dev.yml up