JHipster Microservices demo from Devoxx US 2017
March 21, 2017 ยท View on GitHub
To run this microservices architecture locally, you'll need to install Java 8, Maven, Node.js and Docker. Then run the following commands in separate windows:
Terminal 1:
cd registry
./mvnw
Terminal 2:
cd blog
yarn
yarn webpack:dev
./mvnw
Terminal 3:
cd store
docker-compose -f src/main/docker/mongodb.xml up
Terminal 4:
cd store
./mvnw
Docker
To run this application using Docker Compose, run the following commands:
cd blog
./mvnw package -Pprod docker:build
cd ../store
./mvnw package -Pprod docker:build
cd ../docker
docker-compose up -d
Then use Kitematic to visualize the logs and find the URL for each application.