From 6af45bf4ac572361431b28bd4352e1c5a3b4fef9 Mon Sep 17 00:00:00 2001 From: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Date: Thu, 5 Mar 2020 14:03:40 -0800 Subject: [PATCH] Docs: Update image_rendering.md (#22586) Trying to fix the numbering in Run as standalone Node.js application. --- .../sources/administration/image_rendering.md | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/docs/sources/administration/image_rendering.md b/docs/sources/administration/image_rendering.md index 1954ee58808..02bd81ee095 100755 --- a/docs/sources/administration/image_rendering.md +++ b/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. 2. Install dependencies and build: -```bash -yarn install --pure-lockfile -yarn run build -``` -3. Run the server + ```bash + yarn install --pure-lockfile + yarn run build + ``` + +3. Run the server: + + ```bash + node build/app.js server --port=8081 + ``` -```bash -node build/app.js server --port=8081 -``` 4. Update Grafana configuration: -``` -[rendering] -server_url = http://localhost:8081/render -callback_url = http://localhost:3000/ -``` + ``` + [rendering] + server_url = http://localhost:8081/render + callback_url = http://localhost:3000/ + ``` + 5. Restart Grafana. ## PhantomJS