Docs: Update image_rendering.md (#22586)

Trying to fix the numbering in Run as standalone Node.js application.
This commit is contained in:
Diana Payton
2020-03-05 14:03:40 -08:00
committed by GitHub
parent 5ad8a9722e
commit 6af45bf4ac

View File

@@ -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