Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 568 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 568 Bytes

spring-cloud-sample-consul

Demo application to run spring cloud on consul

Running the sample

  1. Install Consul, Please see the installation documentation for instructions on how to install Consul.
  2. In the first window, run: ./src/main/bash/local_run_consul.sh and wait for it to start up
  3. 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)