Skip to content

Commit f4858f8

Browse files
author
Illia Sakovich
committed
wip
1 parent fd89061 commit f4858f8

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

docs/prerender-local.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,11 @@ featherIcon: activity
1010
## Installing and configuring the renderer
1111

1212
```bash
13-
git clone https://github.com/prerender/prerender.git
13+
npm install prerender
1414
```
1515

1616
```bash
17-
cd prerender
18-
```
19-
20-
```bash
21-
npm install
22-
```
23-
24-
```bash
25-
node server.js
17+
node node_modules/prerender/server.js
2618
```
2719

2820
The default port is `3000`. Change the server port with `export PORT=3005` if needed.
@@ -31,7 +23,7 @@ The default port is `3000`. Change the server port with `export PORT=3005` if ne
3123

3224
All you have to do on the application side is to put these variables into the `.env` file.
3325

34-
```dotenv
26+
```
3527
DYNAMIC_RENDERER_DRIVER=prerender_local
3628
PRERENDER_LOCAL_SERVICE_URL=http://localhost:3000
3729
```

0 commit comments

Comments
 (0)