Skip to content

Commit f9769a5

Browse files
committed
Update defaults: 20 iterations, add Docker cleanup to stop script
1 parent 76eb62e commit f9769a5

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

ralph-stop.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ if [ -f ".wp-env.json" ]; then
3939
npm run env:stop 2>/dev/null || true
4040
fi
4141

42+
# Clean up orphaned Docker containers holding ports
43+
echo -e "${YELLOW}Cleaning up Docker containers...${NC}"
44+
docker stop $(docker ps -q --filter "name=wordpress" --filter "name=mysql") 2>/dev/null || true
45+
docker rm $(docker ps -aq --filter "name=wordpress" --filter "name=mysql") 2>/dev/null || true
46+
4247
echo ""
4348
echo -e "${GREEN}✅ Ralph stopped${NC}"
4449

ralph-worktree.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BRANCH_NAME="ralph/${WORKTREE_NAME}"
1616
RALPH_PROMPT="prompts/wp-testing-agent.txt"
1717
RALPH_PRD="plans/prd.json"
1818
RALPH_PROFILE="dev"
19-
RALPH_ITERATIONS="${2:-10}"
19+
RALPH_ITERATIONS="${2:-20}"
2020

2121
# Colors for output
2222
RED='\033[0;31m'

0 commit comments

Comments
 (0)