url shortener which creates a print. for denouncing despicable content without giving it views or pagerank / it's all about http://wkhtmltopdf.org/
dependencies:
- python
- apache
- php5
- php5-curl
- php5-mysql
- mysql
- wkhtmltoimage
- imagemagick
- composer
other requirements:
- recaptcha
- google analytics
steps:
-
Rename
.env.example
to.env
-
Edit the
.env
with your data -
Create database table:
mysql> source /path/to/schema.sql
- Alter
<Directory /var/www/>
in/etc/apache2/apache2.conf
:
AllowOverride All
- Execute
chown www-data:www-data /var/www/html/prints
- Execute
a2enmod rewrite
- Execute
service apache2 restart
- Install composer dependences
composer install
On a headless server I had to use xfvb as mentioned here and here.
On a debian based system you have to: sudo apt-get install xvfb
Otherwise, the capture.sh
file should be changed to not use xvfb
.