Co-authored-by: Mark Shust <mark@shust.com>
@@ -10,6 +10,11 @@ NC='\033[0m' # No Color
bin/stop
+if [ -d "./bin" ]; then
+ echo "Error: The current directory is not empty. Please remove all contents within this directory and try again."
+ exit 1
+fi
+
bin/start --no-dev
[ $? != 0 ] && echo "Failed to start Docker services" && exit
@@ -3,6 +3,12 @@ git init -qqq
git remote add origin https://github.com/markshust/docker-magento
git fetch origin -qqq
git checkout origin/master -- compose
mv compose/* ./
mv compose/.gitignore ./
mv compose/.vscode ./