Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/schibsted-tech-polska/stp.phantom-renderer

Rendering server for SPA based on PhantomJS
https://github.com/schibsted-tech-polska/stp.phantom-renderer

Last synced: 3 days ago
JSON representation

Rendering server for SPA based on PhantomJS

Awesome Lists containing this project

README

        

# 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:

```javascript
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:

```javascript
node index.js --config configs/#SERVICE_NAME#.js
```

### TODO
- update logger