Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

Update start_local.sh

James Brownb31ae0c32b44
diff --git a/app/start_local.sh b/app/start_local.sh
index 4b6704f5..2ec31fe2 100755
--- a/app/start_local.sh
+++ b/app/start_local.sh
@@ -15,9 +15,12 @@ if ! [ -x "$(command -v docker)" ]; then
fi
if ! [ -x "$(command -v docker-compose)" ]; then
- echo 'Error: docker-compose is not installed.' >&2
- echo 'Please install docker-compose before running this setup script.' >&2
- exit 1
+ docker compose 2>&1 > /dev/null
+ if [[ $? -ne 0 ]]; then
+ echo 'Error: docker-compose is not installed.' >&2
+ echo 'Please install docker-compose before running this setup script.' >&2
+ exit 1
+ fi
fi
# make sure that we are in the same directory as the script