Clickhouse is installed by default in GDK
## Overview GDK should install Clickhouse which will allow Error Tracking to be enabled by default. ## Context Official installation documentation can be found here: https://clickhouse.com/docs/en/getting-started/install/ As per official documentation, it supports the following systems and require specific architecture: >>> ClickHouse can run on any Linux, FreeBSD, or Mac OS X with x86_64, AArch64, or PowerPC64LE CPU architecture. Official pre-built binaries are typically compiled for x86_64 and leverage SSE 4.2 instruction set, so unless otherwise stated usage of CPU that supports it becomes an additional system requirement >>> To reduce scope: We should add a check for supported platforms and architectures in GDK and skip installing ClickHouse with a message when it machine does not support official pre-built binaries. This check should not prevent users from installing or using GDK, and we should handle Clickhouse at this stage as an optional component. As part of the task we need to provide minimal documentation in GDK. ---- In GDK we handle dependencies with both `asdf` and `homebrew`. I've looked for homebrew support, and it seems it's handled by a thirdparty : https://github.com/Altinity/homebrew-clickhouse It seems there is also a pre-built binary available with (for mac Intel): ```terminal wget 'https://builds.clickhouse.com/master/macos/clickhouse' chmod a+x ./clickhouse ./clickhouse ``` and for apple silicon: ```terminal wget 'https://builds.clickhouse.com/master/macos-aarch64/clickhouse' chmod a+x ./clickhouse ./clickhouse ``` ---- There is also a Homebrew Tap from Alfinity: https://github.com/Altinity/homebrew-clickhouse ```terminal brew tap altinity/clickhouse brew install clickhouse@22.3 # current latest brew install clickhouse@stable # points to latest ```
issue