Demo application to run spring cloud on consul
- Install Consul, Please see the installation documentation for instructions on how to install Consul.
- In the first window, run:
./src/main/bash/local_run_consul.sh
and wait for it to start up - In the second window, build the application using
mvn clean package spring-boot:run
You should see two servers being registered on web-application (http://localhost:8500)