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"