Skip to content

inventaire/prerender

 
 

Repository files navigation

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

Languages

  • JavaScript 99.7%
  • Shell 0.3%