From e638c62f002a339536a6a76515ed8a238b135d90 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Wed, 22 Feb 2017 14:55:15 -0500 Subject: adding directions for running docker-compose Change-Id: Ia4b6e30c394e1374a9576726a30c204371e4683b Signed-off-by: Pamela Dragosh --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 3a4b4cd2..f0b39375 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,8 @@ To build it using Maven 3, first build 'policy-common-modules', 'policy-engine', In addition, the 'config' dirctory contains configuration files that are read during the startup of the containers; this directory is referenced by the docker-compose.yml file. +If you want to call the docker-compose, the following needs to be setup before doing so: + +chmod +x config/drools/drools-tweaks.sh +IP_ADDRESS=$(ifconfig eth0 | grep "inet addr" | tr -s ' ' | cut -d' ' -f3 | cut -d':' -f2) +echo $IP_ADDRESS > config/pe/ip_addr.txt -- cgit 1.2.3-korg