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 ##############"