Clone de https://github.com/naofode/naofo.de.git
![]() |
vor 9 Jahren | |
---|---|---|
css | vor 10 Jahren | |
inc | vor 9 Jahren | |
js | vor 10 Jahren | |
lib | vor 9 Jahren | |
.gitignore | vor 9 Jahren | |
.htaccess | vor 10 Jahren | |
LICENSE | vor 10 Jahren | |
README.md | vor 9 Jahren | |
ajax-loader.gif | vor 10 Jahren | |
apple-touch-icon-precomposed.png | vor 10 Jahren | |
capture.sh | vor 9 Jahren | |
favicon.ico | vor 10 Jahren | |
humans.txt | vor 10 Jahren | |
index.php | vor 9 Jahren | |
optimize.sh | vor 10 Jahren | |
proxy.php | vor 10 Jahren | |
robots.txt | vor 10 Jahren | |
schema.sql | vor 10 Jahren | |
slice.sh | vor 10 Jahren | |
static.php | vor 9 Jahren |
url shortener which creates a print. for denouncing despicable content without giving it views or pagerank / it's all about http://wkhtmltopdf.org/
dependencies:
other requirements:
steps:
add apache variables in /etc/apache2/envvars
:
export naofode_recaptchakey='???'
export naofode_dsn='mysql:host=localhost;dbname=???'
export naofode_dbuser='???'
export naofode_dbpass='???'
alter recaptcha site key in index.php
alter analytics javascript in index.php
create database table:
mysql> source /path/to/schema.sql
along all files, alter occurrences of naofo.de
to the new domain (be careful not to change the github address)
alter <Directory /var/www/>
in /etc/apache2/apache2.conf
:
AllowOverride All
execute
mkdir /var/www/html/prints
execute
chown www-data:www-data /var/www/html/prints
execute
a2enmod rewrite
execute
service apache2 restart