java-tutorials/spring-cloud-config
Christian Rädel 3b948c9b8b Merge remote-tracking branch 'upstream/master' into craedel-enterprise-patterns/front-controller 2016-09-25 11:13:33 +02:00
..
docker Merge remote-tracking branch 'upstream/master' into craedel-enterprise-patterns/front-controller 2016-09-25 11:13:33 +02:00
README.md BAEL-90/BAEL-219: Better interaction between both tutorials. 2016-08-26 20:58:06 +02:00
pom.xml BAEL-90/BAEL-219: Better interaction between both tutorials. 2016-08-26 20:58:06 +02:00

README.md

Spring Cloud Config

To get this example working, you have to initialize a new Git repository in the client-config directory first and you have to set the environment variable CONFIG_REPO to an absolute path of that directory.

$> cd client-config
$> git init
$> git add .
$> git commit -m 'Initial commit'
$> export CONFIG_REPO=$(pwd)

Then you're able to run the examples with mvn install spring-boot:run.

Docker

To get the Docker examples working, you have to repackage the spring-cloud-config-server and spring-cloud-config-client modules first:

$> mvn install spring-boot:repackage

Don't forget to download the Java JCE package from (Oracle)[http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html].