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
Update contribution guidelines (#403)
Johan Fagerberg3ff2c79b3380
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex d673b53a37..3f96b4fd6c 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -4,9 +4,12 @@The easiest way to get up and running is to [install](https://docs.docker.com/get-docker/) and use Docker for running both Postgres and Clickhouse.+Make sure Docker, Elixir, Erlang and Node.js are all installed on your development machine.+### Start the environment:1. Run both `make postgres` and `make clickhouse`.+2. 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.3. Run `mix ecto.migrate` to build the database schema.4. Run `npm ci --prefix assets` to install the required node dependencies.diff --git a/Makefile b/Makefileindex 49c4805d26..5e95ac8144 100644--- a/Makefile+++ b/Makefile@@ -1,8 +1,8 @@clickhouse:- docker run -p 8123:8123 --ulimit nofile=262144:262144 --volume=$$HOME/clickhouse_db_vol:/var/lib/clickhouse yandex/clickhouse-server+ docker run --detach -p 8123:8123 --ulimit nofile=262144:262144 --volume=$$HOME/clickhouse_db_vol:/var/lib/clickhouse yandex/clickhouse-serverpostgres:- docker run -e POSTGRES_PASSWORD="postgres" -p 5432:5432 postgres+ docker run --detach -e POSTGRES_PASSWORD="postgres" -p 5432:5432 postgresdummy_event:curl 'http://localhost:8000/api/event' \