Skip to content

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

Update start_local.sh

appreciateddd38b883c249
diff --git a/app/start_local.sh b/app/start_local.sh
index 25cfce89..4b6704f5 100755
--- a/app/start_local.sh
+++ b/app/start_local.sh
@@ -20,6 +20,9 @@ if ! [ -x "$(command -v docker-compose)" ]; then
exit 1
fi
+# make sure that we are in the same directory as the script
+cd "$(dirname "$0")"
+
# copy the _env file to .env unless it already exists
if [ -f .env ]; then
echo ".env file already exists, won't overwrite it with _env"
@@ -36,4 +39,4 @@ echo "Setup complete!"
echo "Starting the application..."
docker compose build
-docker compose up
\ No newline at end of file
+docker compose up