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