Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ You can quickly view how this works by running this repositories .claude setup.
```bash
# 1. Start both server and client
./scripts/start-system.sh
# Note: Dependencies will be automatically installed on first run

# 2. Open http://localhost:5173 in your browser

Expand Down Expand Up @@ -139,7 +140,7 @@ claude-code-hooks-multi-agent-observability/
│ └── settings.json # Hook configuration
├── scripts/ # Utility scripts
│ ├── start-system.sh # Launch server & client
│ ├── start-system.sh # Launch server & client (auto-installs dependencies)
│ ├── reset-system.sh # Stop all processes
│ └── test-system.sh # System validation
Expand Down
14 changes: 14 additions & 0 deletions scripts/start-system.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ fi
# Start server
echo -e "\n${GREEN}Starting server on port 4000...${NC}"
cd "$PROJECT_ROOT/apps/server"

# Check and install server dependencies if needed
if [ ! -d "node_modules" ]; then
echo -e "${YELLOW}Installing server dependencies...${NC}"
bun install
fi

bun run dev &
SERVER_PID=$!

Expand All @@ -54,6 +61,13 @@ done
# Start client
echo -e "\n${GREEN}Starting client on port 5173...${NC}"
cd "$PROJECT_ROOT/apps/client"

# Check and install client dependencies if needed
if [ ! -d "node_modules" ]; then
echo -e "${YELLOW}Installing client dependencies...${NC}"
bun install
fi

bun run dev &
CLIENT_PID=$!

Expand Down