From f205864f3aae0163f01f8d55b712391994009baf Mon Sep 17 00:00:00 2001 From: Sowmiya Nagarajan Date: Sun, 29 Mar 2020 15:11:28 +0530 Subject: [PATCH] Fixing #39 --- brew/stackbox-brew.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/brew/stackbox-brew.sh b/brew/stackbox-brew.sh index 61a1d0d..7bfa08d 100644 --- a/brew/stackbox-brew.sh +++ b/brew/stackbox-brew.sh @@ -111,9 +111,12 @@ srcPath=$(pwd)"/stackbox/" mkdir $srcPath cp -r $installationPath/. $srcPath -echo "Your code is in ./"$srcPath +echo "Your code is in "$srcPath +printf "\n" echo "######## BUILDING YOUR STACK ###############" +printf "\n" + beginswith() { case $2 in "$1"*) true;; *) false;; esac; } @@ -137,6 +140,8 @@ docker-compose -f $srcPath/docker-compose.yml build > $srcPath/logs/docker-compo printf "\n" echo "######## DEPLOYING YOUR STACK ##############" +printf "\n" + docker-compose -f $srcPath/docker-compose.yml up -d --remove-orphans @@ -173,4 +178,5 @@ do echo ${tmp#"stackbox_"} is up at http://localhost:${service_ports[i]} fi fi -done \ No newline at end of file +done +printf "\n"