File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,11 @@ featherIcon: activity
10
10
## Installing and configuring the renderer
11
11
12
12
``` bash
13
- git clone https://github.com/ prerender/prerender.git
13
+ npm install prerender
14
14
```
15
15
16
16
``` 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
26
18
```
27
19
28
20
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
31
23
32
24
All you have to do on the application side is to put these variables into the ` .env ` file.
33
25
34
- ``` dotenv
26
+ ```
35
27
DYNAMIC_RENDERER_DRIVER=prerender_local
36
28
PRERENDER_LOCAL_SERVICE_URL=http://localhost:3000
37
29
```
You can’t perform that action at this time.
0 commit comments