mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
216d27371a
refs https://github.com/TryGhost/Team/issues/1054 This is the initial pass at the analytics service which listens to events and then handles persisting them via the repository refs https://github.com/TryGhost/Team/issues/1055 This also adds the analytic event repository which handles persisting the events.
35 lines
488 B
Markdown
35 lines
488 B
Markdown
# Member Analytics Service
|
|
|
|
## Install
|
|
|
|
`npm install @tryghost/member-analytics-service --save`
|
|
|
|
or
|
|
|
|
`yarn add @tryghost/member-analytics-service`
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
## Develop
|
|
|
|
This is a mono repository, managed with [lerna](https://lernajs.io/).
|
|
|
|
Follow the instructions for the top-level repo.
|
|
1. `git clone` this repo & `cd` into it as usual
|
|
2. Run `yarn` to install top-level dependencies.
|
|
|
|
|
|
## Run
|
|
|
|
- `yarn dev`
|
|
|
|
|
|
## Test
|
|
|
|
- `yarn lint` run just eslint
|
|
- `yarn test` run lint and tests
|
|
|
|
|