Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 797 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 797 Bytes

Prerender

Customized version of prerender for the needs of inventaire.io.

Install

Development

git clone https://github.com/inventaire/prerender
cd prerender
npm install

# Expected to install Chromium at /usr/bin/chromium-browser
# otherwise, create a ./config/local.js to override config `chromeLocation` value
sudo apt-get install chromium-browser

npm run watch

Production

git clone https://github.com/inventaire/prerender
cd prerender
npm install --production

# Expected to install Chromium at /usr/bin/chromium-browser
# otherwise, create a ./config/local.js to override config `chromeLocation` value
sudo apt-get install chromium-browser

npm run add-to-systemd
sudo systemctl start prerender