Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

update contributing.md and makefile to install tracker deps (#2322)

RobertJoonas38d5e0044275
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 209c925d78..66b9729cf1 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -16,8 +16,9 @@ Make sure Docker, Elixir, Erlang and Node.js are all installed on your developme
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.
3. Run `mix ecto.migrate` to build the database schema.
- 4. Run `npm ci --prefix assets` to install the required node dependencies.
- 5. Run `mix download_country_database` to fetch geolocation database
+ 4. Run `npm ci --prefix assets` to install the required client-side dependencies.
+ 5. Run `npm ci --prefix tracker` to install the required tracker dependencies.
+ 6. Run `mix download_country_database` to fetch geolocation database
3. Run `make server` or `mix phx.server` to start the Phoenix server.
4. The system is now available on `localhost:8000`.
diff --git a/Makefile b/Makefile
index cc65e5b392..a9da554d05 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@ install:
mix ecto.migrate
mix download_country_database
npm install --prefix assets
+ npm install --prefix tracker
server:
mix phx.server