Docs: Update image_rendering.md (#22586)

Trying to fix the numbering in Run as standalone Node.js application.
pull/22610/head
Diana Payton 6 years ago committed by GitHub
parent 5ad8a9722e
commit 6af45bf4ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 29
      docs/sources/administration/image_rendering.md

@ -85,22 +85,25 @@ The following example describes how to build and run the remote HTTP rendering s
1. Clone the [Grafana image renderer plugin](https://grafana.com/grafana/plugins/grafana-image-renderer) Git repository. 1. Clone the [Grafana image renderer plugin](https://grafana.com/grafana/plugins/grafana-image-renderer) Git repository.
2. Install dependencies and build: 2. Install dependencies and build:
```bash ```bash
yarn install --pure-lockfile yarn install --pure-lockfile
yarn run build yarn run build
``` ```
3. Run the server
3. Run the server:
```bash
node build/app.js server --port=8081
```
```bash
node build/app.js server --port=8081
```
4. Update Grafana configuration: 4. Update Grafana configuration:
``` ```
[rendering] [rendering]
server_url = http://localhost:8081/render server_url = http://localhost:8081/render
callback_url = http://localhost:3000/ callback_url = http://localhost:3000/
``` ```
5. Restart Grafana. 5. Restart Grafana.
## PhantomJS ## PhantomJS

Loading…
Cancel
Save