Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: use simpler to install CH client + doc update (#9560)

Valery Meleshkin6a18e6615c38
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 0e9efb1360..12ea48274f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -111,12 +111,16 @@ Requirements
- Node.js 24 as specified in the [.nvmrc](.nvmrc)
- Pnpm v.9.5.0
- Docker to run the database locally
+- Clickhouse client
**Note:** You can also simply run Langfuse in a **GitHub Codespace** via the provided devcontainer. To do this, click on the green "Code" button in the top right corner of the repository and select "Open with Codespaces".
**Steps**
-1. Install [golang-migrate](https://github.com/golang-migrate/migrate/tree/master/cmd/migrate#migrate-cli) as CLI
+1. Install development dependencies:
+ - [golang-migrate](https://github.com/golang-migrate/migrate/tree/master/cmd/migrate#migrate-cli) as CLI
+ - [clickhouse binary](https://clickhouse.com/docs/install) on macOS with brew: `brew install --cask clickhouse`
+
2. Fork the repository and clone it locally
```bash
diff --git a/packages/shared/clickhouse/scripts/dev-tables.sh b/packages/shared/clickhouse/scripts/dev-tables.sh
index 5bcec333bf..f657d15b97 100644
--- a/packages/shared/clickhouse/scripts/dev-tables.sh
+++ b/packages/shared/clickhouse/scripts/dev-tables.sh
@@ -54,9 +54,9 @@ else
exit 1
fi
-if ! command -v clickhouse-client &> /dev/null
+if ! command -v clickhouse &> /dev/null
then
- echo "Error: clickhouse-client could not be found. Please install ClickHouse client tools."
+ echo "Error: clickhouse binary could not be found. Please install ClickHouse client tools."
exit 1
fi
@@ -65,7 +65,7 @@ echo "Creating development tables in ClickHouse..."
# Execute the CREATE TABLE statements
# Add your development tables here using CREATE TABLE IF NOT EXISTS
-clickhouse-client \
+clickhouse client \
--host="${CLICKHOUSE_HOST}" \
--port="${CLICKHOUSE_PORT}" \
--user="${CLICKHOUSE_USER}" \
@@ -183,7 +183,7 @@ EOF
echo "Populating development tables with sample data..."
-clickhouse-client \
+clickhouse client \
--host="${CLICKHOUSE_HOST}" \
--port="${CLICKHOUSE_PORT}" \
--user="${CLICKHOUSE_USER}" \