Skip to content

Commit

Permalink
Add build instruction warning in documentation.
Browse files Browse the repository at this point in the history
Instead of using dangerous command in package.json, add a comment in the
documentation.
  • Loading branch information
faxm0dem committed Nov 18, 2020
1 parent d32ac75 commit 18dfe40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ This datasource connects to a riemann server using websockets and subscribes to

## Getting started

For instructions on how to install a riemann server, refer to its [web site](https://riemann.io).
For building this plugin, there currently is a bug in the toolchain that prevents the correct execution. You need to run `rm -rf node_modules/@grafana/data/node_modules` in order for it to work. See the [github issue](https://github.com/grafana/grafana/issues/28395#issuecomment-714715586) for more information on that subject.

0. Have a riemann instance ready with websockets enabled
```clojure
(ws-server)
```

1. Install dependencies
```BASH
yarn install
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"build": "grafana-toolkit plugin:build",
"test": "grafana-toolkit plugin:test",
"dev": "rm -rf node_modules/@grafana/data/node_modules; grafana-toolkit plugin:dev",
"dev": "grafana-toolkit plugin:dev",
"watch": "grafana-toolkit plugin:dev --watch"
},
"author": "Fᴀʙɪᴇɴ Wᴇʀɴʟɪ",
Expand Down

0 comments on commit 18dfe40

Please sign in to comment.