Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 558 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 558 Bytes

phantom-renderer

Rendering server for SPA based on PhantomJS


Single page renderer

  • Copy/clone project
  • Rename config.js.dist to config.js - and fill all config settings
  • Run npm install
  • Run like:
    node index.js

Multi page renderer

  • Copy/clone project
  • copy config.js.dist to configs/#SERVICE_NAME#.js - and fill all config settings (create one config file per page)
  • Run npm install
  • Run for each service like:
    node index.js --config configs/#SERVICE_NAME#.js

TODO

  • update logger