Skip to content
master
Switch branches/tags
Go to file
Code
This branch is 31 commits ahead, 25 commits behind prerender:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Node server that uses phantomjs to render a javascript-rendered page as HTML. To be used in conjunction with prerender middleware.

Resources

License

Releases

No releases published

Packages

No packages published