From fd9cd1d0a4c60f0599109f926ddd9f21c8f51c7e Mon Sep 17 00:00:00 2001 From: Jon Christopher Date: Fri, 4 Oct 2024 22:01:52 -0700 Subject: [PATCH 1/2] Update README.md --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 684dfac..8b0300b 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,19 @@ Or install it yourself as: $ gem install activeinsights ``` -And then install migrations: +then install migrations: ```bash bin/rails g active_insights:install bin/rails rails db:migrate ``` +And then add application.css to your manifest.js: +```bash +# app/assets/config/manifest.js +//= link active_insights/application.css +``` + + This also mounts a route in your routes file to view the insights at `/insights`. From 107dd976a4649c4c3d46ac22a02eef6fa5e6184c Mon Sep 17 00:00:00 2001 From: Jon Christopher Date: Sat, 5 Oct 2024 06:27:38 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8b0300b..50c757a 100644 --- a/README.md +++ b/README.md @@ -34,19 +34,12 @@ Or install it yourself as: $ gem install activeinsights ``` -then install migrations: +and then install migrations: ```bash bin/rails g active_insights:install bin/rails rails db:migrate ``` -And then add application.css to your manifest.js: -```bash -# app/assets/config/manifest.js -//= link active_insights/application.css -``` - - This also mounts a route in your routes file to view the insights at `/insights`. @@ -65,6 +58,12 @@ You can supply an array of ignored endpoints config.active_insights.ignored_endpoints = ["Rails::HealthController#show"] ``` +IF you are using sproket add application.css to your manifest.js (not needed for propshaft): +```bash +# app/assets/config/manifest.js +//= link active_insights/application.css +``` + ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run