Skip to content

aker/spring-cloud-sample-consul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:https://localhost:8500)

About

spring cloud sample on consul

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published