naofo.de

url shortener which creates a print. for denouncing despicable content without giving it views or pagerank

  • Owner: naofode/naofo.de
  • Platform:
  • License:: GNU General Public License v2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

naofo.de

url shortener which creates a print. for denouncing despicable content without giving it views or pagerank
/
it's all about http://wkhtmltopdf.org/

simple installation guide for ubuntu 14.04

dependencies:

  • python
  • apache
  • php5
  • php5-curl
  • php5-mysql
  • mysql
  • wkhtmltoimage
  • imagemagick
  • composer

other requirements:

  • recaptcha
  • google analytics

steps:

  1. Rename .env.example to .env

  2. Edit the .env with your data

  3. Create database table:

mysql> source /path/to/schema.sql
  1. Alter <Directory /var/www/> in /etc/apache2/apache2.conf:
AllowOverride All
  1. Execute
chown www-data:www-data /var/www/html/prints
  1. Execute
a2enmod rewrite
  1. Execute
service apache2 restart
  1. Install composer dependences
composer install

Troubleshooting

xvfb

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.

Main metrics

Overview
Name With Ownernaofode/naofo.de
Primary LanguagePHP
Program languageShell (Language Count: 4)
Platform
License:GNU General Public License v2.0
所有者活动
Created At2014-05-10 04:33:03
Pushed At2018-06-01 14:09:03
Last Commit At2018-06-01 11:09:02
Release Count0
用户参与
Stargazers Count99
Watchers Count5
Fork Count15
Commits Count77
Has Issues Enabled
Issues Count14
Issue Open Count4
Pull Requests Count1
Pull Requests Open Count1
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private