Add /dev endpoint

Signed-off-by: sriram ramakrishnan <sramakr@gmail.com>
This commit is contained in:
sriram ramakrishnan
2023-03-30 10:41:46 -04:00
parent 11c8654353
commit 91afbd743c
3 changed files with 73 additions and 1 deletions
+9 -1
View File
@@ -186,7 +186,15 @@ normally `gitignore`'d but loaded and merged in when Backstage is bootstrapped.
If you would like to contribute improvements to this plugin, the easiest way to
make and test changes is to do the following:
See the [Developer documentation](development.md) for instructions on how to get started developing this plugin.
1. Clone the main Backstage monorepo `git clone git@github.com:backstage/backstage.git`
2. Install all dependencies `yarn install`
3. If one does not exist, create an `app-config.local.yaml` file in the root of
the monorepo and add config for this plugin (see below)
4. Enter this plugin's working directory: `cd plugins/analytics-provider-ga4`
5. Start the plugin in isolation: `yarn start`
6. Navigate to the playground page at `http://localhost:3000/ga4`
7. Open the web console to see events fire when you navigate or when you
interact with instrumented components.
Code for the isolated version of the plugin can be found inside the [/dev](./dev)
directory. Changes to the plugin are hot-reloaded.