A simple project to demonstrate a microservice architecture created with JHipster.
To run this app, you'll need to install Java 8, Node.js, Docker and Docker Compose.
-
Make sure Docker is running.
-
Go to orderbook directory and build a docker image of
orderbookmicroservicecd orderbook/ ./gradlew -Pprod bootRepackage buildDocker cd ../ -
Go to gateway directory and build a docker image of
gatewayapplicationcd gateway/ ./gradlew -Pprod bootRepackage buildDocker -
Go to docker directory and start Docker containers
docker-compose up
TIP: Add
-dat the end of the command above if you want to run all containers detachedly. -
Go to
dockerdirectory and stop Docker containersdocker-compose stop