moved lines around so they make more sense
This commit is contained in:
parent
9d8d779ef1
commit
2c06b8d90e
@ -7,22 +7,20 @@ Live demo on https://http2pic.haschek.at/
|
|||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
- [wkhtmltox](http://wkhtmltopdf.org/downloads.html)
|
- [wkhtmltox](http://wkhtmltopdf.org/downloads.html)
|
||||||
- "timeout" command
|
- curl extension for PHP ```apt-get install php5-curl```
|
||||||
- curl extension for PHP
|
- Make sure the server has the "timeout" command ```apt-get install coreutils```
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
- Download [this repo](https://github.com/chrisiaut/http2pic/archive/master.zip) and extract it somewhere on your webserver
|
||||||
|
|
||||||
### With WKHTMLToImage
|
### With WKHTMLToImage
|
||||||
- Install [wkhtmltox](http://wkhtmltopdf.org/downloads.html) on your server
|
- Install [wkhtmltox](http://wkhtmltopdf.org/downloads.html) on your server
|
||||||
- Make /usr/sbin/wkhtmltoimage executable for the user that runs the webserver. For Apache it's the ```www-data``` user. Or use sudo
|
- Make /usr/sbin/wkhtmltoimage executable for the user that runs the webserver. For Apache it's the ```www-data``` user. Or use sudo
|
||||||
|
|
||||||
### With PhantomJS
|
### With PhantomJS
|
||||||
|
|
||||||
- Install PhantomJS. eg via ```npm install -g phantomjs```
|
- Install PhantomJS. eg via ```npm install -g phantomjs```
|
||||||
- Make /usr/bin/phantomjs executable for the user that runs the webserver. For Apache it's the ```www-data``` user. Or use sudo
|
- Make /usr/bin/phantomjs executable for the user that runs the webserver. For Apache it's the ```www-data``` user. Or use sudo
|
||||||
|
|
||||||
- Make sure the server has the "timeout" command. For debian this is available via ```apt-get install coreutils```
|
|
||||||
- Download [this repo](https://github.com/chrisiaut/http2pic/archive/master.zip) and extract it somewhere on your webserver
|
|
||||||
|
|
||||||
## Upgrade
|
## Upgrade
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user