Skip to content

Commit 1340aed

Browse files
author
Illia Sakovich
committed
wip
1 parent 71ecca5 commit 1340aed

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

config/dynamic-rendering.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
*/
3232
'renderers' => [
3333

34-
'prerender' => [
35-
'url' => env('PRERENDER_URL', 'http://localhost:3000'),
36-
],
37-
3834
'rendertron' => [
3935
'url' => env('RENDERTRON_URL', 'http://localhost:3000'),
4036
],
4137

38+
'prerender' => [
39+
'url' => env('PRERENDER_URL', 'http://localhost:3000'),
40+
],
41+
4242
],
4343

4444
];

docs/installation.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,22 @@ After the installation you need to choose and setup the renderer.
2525

2626
These ones are shipped out of the box:
2727

28-
- [Prerender]({{base}}/{{version}}/prerender)
2928
- [Rendertron]({{base}}/{{version}}/rendertron)
29+
- [Prerender]({{base}}/{{version}}/prerender)
30+
31+
## Installing the Chrome
32+
33+
This step might not be required because:
34+
- some renderers install the Chrome themselves (e.g. Rendertron)
35+
- Chrome might already be installed in your system
36+
37+
But if it is not your case, the instructions are given below.
38+
39+
### Installing the Chrome on Ubuntu
40+
41+
```bash
42+
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
43+
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
44+
sudo apt update
45+
sudo apt install google-chrome-stable
46+
```

0 commit comments

Comments
 (0)