Clone de https://github.com/naofode/naofo.de.git
![]() |
9 years ago | |
---|---|---|
css | 10 years ago | |
inc | 9 years ago | |
js | 10 years ago | |
lib | 9 years ago | |
.gitignore | 9 years ago | |
.htaccess | 10 years ago | |
LICENSE | 10 years ago | |
README.md | 9 years ago | |
ajax-loader.gif | 10 years ago | |
apple-touch-icon-precomposed.png | 10 years ago | |
capture.sh | 9 years ago | |
favicon.ico | 10 years ago | |
humans.txt | 10 years ago | |
index.php | 9 years ago | |
optimize.sh | 10 years ago | |
proxy.php | 10 years ago | |
robots.txt | 10 years ago | |
schema.sql | 10 years ago | |
slice.sh | 10 years ago | |
static.php | 9 years ago |
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