Skip to content

inventaire/prerender

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 33 commits ahead, 96 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Shell 0.3%