From 595d68aa789e664568f760411329830d31163bd0 Mon Sep 17 00:00:00 2001 From: Sowmiya Nagarajan Date: Sun, 29 Mar 2020 14:25:19 +0530 Subject: [PATCH] Changing dirs for brew --- stack-brew.py => brew/stack-brew.py | 0 stackbox-brew.sh => brew/stackbox-brew.sh | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename stack-brew.py => brew/stack-brew.py (100%) rename stackbox-brew.sh => brew/stackbox-brew.sh (92%) diff --git a/stack-brew.py b/brew/stack-brew.py similarity index 100% rename from stack-brew.py rename to brew/stack-brew.py diff --git a/stackbox-brew.sh b/brew/stackbox-brew.sh similarity index 92% rename from stackbox-brew.sh rename to brew/stackbox-brew.sh index f2156be..651e92a 100644 --- a/stackbox-brew.sh +++ b/brew/stackbox-brew.sh @@ -114,17 +114,17 @@ python3_version=$(python3 --version) if beginswith "Python 3" "$python_version" ; then var="$(pip --disable-pip-version-check install -r $installationPath/requirements.txt) > /dev/null " - python $installationPath/stack.py $installationPath ${stack[*]} + python $installationPath/brew/stack-brew.py $installationPath ${stack[*]} elif beginswith "Python 3" "$python3_version"; then var="$(pip3 --disable-pip-version-check install -r $installationPath/requirements.txt) > /dev/null" - python3 $installationPath/stack.py $installationPath ${stack[*]} + python3 $installationPath/brew/stack-brew.py $installationPath ${stack[*]} else echo "Unable to find a python 3 installation" fi -docker-compose -f $installationPath/docker-compose.yml down 2> /dev/null > logs/docker-compose-down-log.txt -docker-compose -f $installationPath/docker-compose.yml build > logs/docker-compose-build-log.txt +docker-compose -f $installationPath/docker-compose.yml down 2> /dev/null > $installationPath/logs/docker-compose-down-log.txt +docker-compose -f $installationPath/docker-compose.yml build > $installationPath/logs/docker-compose-build-log.txt printf "\n" echo "######## DEPLOYING YOUR STACK ##############"