Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 421 Bytes

README_local.md

File metadata and controls

15 lines (8 loc) · 421 Bytes

Running Locally (as per original tutorial)

Start Consul in one shell window

docker run -p 8500:8500 consul

Run the different microservices via gradle in parallel in a separate shell (but enabling 'consul' environment', not needed in original tutorial)

export MICRONAUT_ENVIRONMENTS=consul
./gradlew -parallel run

And then to test in a separate shell

curl http://localhost:8080/api/books