-
ln -s /srv/phantomjs-1.9.7-linux-i686/bin/phantomjs /usr/bin/
-
git clone [email protected]:newpointer/webrender.git cd webrender && npm install systemctl start webrender.service
Параметр: 'disk-cache': true Расположение: QDesktopServices::CacheLocation ~/.qws/cache/Ofi Labs/PhantomJS/
http://www.infinality.net/blog/
https://launchpad.net/~no1wantdthisname/+archive/ppa
http://www.webupd8.org/2013/06/better-font-rendering-in-linux-with.html
OpenSUSE:
zypper ar http://download.opensuse.org/repositories/home:/andtecheu:/infinality/openSUSE_12.1/ infinality
zypper ref && zypper in freetype-infinality fontconfig-infinality
zypper in fetchmsttfonts pullin-msttf-fonts
bash /etc/fonts/infinality/infctl.sh setstyle
forever restart /srv/webrender/web.js
Из консоли:
curl "http://localhost:3000/render.png?delay=500&url=http://localhost:8080/nkbrelation/" > page.png
Пример отчета в браузере:
http://relations.nkb:3000/render.png?check=_REPORT_READY_&url=http://relations.nkb:8080/nkbrelation/internal/report/534eb884e4b005a5d2fea86b