Sources of xxx.kocal.fr, a web interface that display adult-content videos' metadata (from pr0n_crawler), made with Laravel framework.
- Apache or nginx (https://laravel.com/docs/5.4#web-server-configuration),
- PHP 7.0+ (PHP 5.6+ should works too),
- MySQL 5.5+,
- A MySQL database created and filled by using pr0n_crawler.
$ composer install
$ cp .env.example .env
# Edit your .env with DB credentials
$ php artisan key:generate
laravel-shield is used to provide a quick and simple HTTP authentication that protect the administration area (/admin).
You should generate a hashed username and password by using
htpasswd
command line tool or
password_hash()
PHP function:
$ php -r 'echo password_hash("your-username", PASSWORD_DEFAULT);'
$ php -r 'echo password_hash("your-password", PASSWORD_DEFAULT);'
Then, edit your .env
with previous values:
SHIELD_USER=your-hashed-user
SHIELD_PASSWORD=your-hashed-password