Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
ARM64 dev support (#1863)
Ru7505584cf827
diff --git a/.tool-versions b/.tool-versionsindex 717852f3ee..9984197c72 100644--- a/.tool-versions+++ b/.tool-versions@@ -1,4 +1,4 @@elixir 1.12.2-otp-24erlang 24.0.3nodejs 16.3.0-python 3.9.4+python 3.9.12diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 0a91c457e1..5b8ab2f6aa 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -9,6 +9,7 @@ Make sure Docker, Elixir, Erlang and Node.js are all installed on your developme### Start the environment:1. Run both `make postgres` and `make clickhouse`.+ 1. If you are using Apple Silicon (any of the M1 or similar SoC variants), `make clickhouse-arm` offers a development-only substitute that will work on your local machine. Not intended for production.2. You can set up everything with `make install`, alternatively run each command separately:1. Run `mix deps.get`. This will download the required Elixir dependencies.2. Run `mix ecto.create`. This will create the required databases in both Postgres and Clickhouse.diff --git a/Makefile b/Makefileindex a8c9810a5b..0c8d61e015 100644--- a/Makefile+++ b/Makefile@@ -10,6 +10,9 @@ server:clickhouse:docker run --detach -p 8123:8123 --ulimit nofile=262144:262144 --volume=$$PWD/.clickhouse_db_vol:/var/lib/clickhouse --name plausible_clickhouse yandex/clickhouse-server:21.3.2.5+clickhouse-arm:+ docker run --detach -p 8123:8123 --ulimit nofile=262144:262144 --volume=$$PWD/.clickhouse_db_vol:/var/lib/clickhouse --name plausible_clickhouse altinity/clickhouse-server:21.12.3.32.altinitydev.arm+clickhouse-stop:docker stop plausible_clickhouse && docker rm plausible_clickhouse