File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ echo " ___| |_ __ _ ___| | _| |__ _____ __"
55echo " / __| __/ _ |/ __| |/ / '_ \ / _ \ \/ /"
66echo " \__ \ || (_| | (__| <| |_) | (_) > <"
77echo ' |___/\__\__,_|\___|_|\_\_.__/ \___/_/\_\'
8- echo " \n"
9-
8+ printf " \n"
109echo " ######## SELECT YOUR STACK #############"
1110
1211stack=()
@@ -113,24 +112,26 @@ python3_version=$(python3 --version)
113112if beginswith " Python 3" " $python_version " ;
114113then
115114 var=" $( pip --disable-pip-version-check install -r $installationPath /requirements.txt) > /dev/null "
116- python .. /stack.py ${stack[*]}
115+ python $installationPath /stack.py ${stack[*]}
117116elif beginswith " Python 3" " $python3_version " ;
118117then
119118 var=" $( pip3 --disable-pip-version-check install -r $installationPath /requirements.txt) > /dev/null"
120- python3 .. /stack.py ${stack[*]}
119+ python3 $installationPath /stack.py ${stack[*]}
121120else
122121 echo " Unable to find a python 3 installation"
123122fi
124123
125124docker-compose -f $installationPath /docker-compose.yml down 2> /dev/null > logs/docker-compose-down-log.txt
126125docker-compose -f $installationPath /docker-compose.yml build > logs/docker-compose-build-log.txt
127126
127+ printf " \n"
128128echo " ######## DEPLOYING YOUR STACK ##############"
129129
130130docker-compose -f $installationPath /docker-compose.yml up -d --remove-orphans
131131
132132sleep 5
133133
134+ printf " \n"
134135echo " ######## YOUR STACK ########################"
135136
136137containers=$( docker ps --format ' {{.Names}}' )
162163 fi
163164done
164165
165-
166+ printf " \n "
166167echo " ######## SETTING YOUR CODE DIRECTORY #############"
167168
168169mkdir stackbox
You can’t perform that action at this time.
0 commit comments