java-tutorials/spring-cloud-config
Christian Raedel dfa48a82f8 BAEL-90/BAEL-219: Better interaction between both tutorials. 2016-08-26 20:58:06 +02:00
..
client-config BAEL-90 - ignoring test on a first commit 2016-08-04 07:32:33 +02:00
docker BAEL-90/BAEL-219: Better interaction between both tutorials. 2016-08-26 20:58:06 +02:00
spring-cloud-config-client BAEL-90/BAEL-219: Better interaction between both tutorials. 2016-08-26 20:58:06 +02:00
spring-cloud-config-server BAEL-90/BAEL-219: Better interaction between both tutorials. 2016-08-26 20:58:06 +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].