Skip to content

Commit

Permalink
Merge pull request #49 from strangest-quark/master
Browse files Browse the repository at this point in the history
Fixing #39
  • Loading branch information
strangest-quark authored Mar 29, 2020
2 parents 60c7c77 + f205864 commit 5aad306
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions brew/stackbox-brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand All @@ -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

Expand Down Expand Up @@ -173,4 +178,5 @@ do
echo ${tmp#"stackbox_"} is up at http://localhost:${service_ports[i]}
fi
fi
done
done
printf "\n"

0 comments on commit 5aad306

Please sign in to comment.