Acta-Diurna is a blogging service using the Laravel Framework.
- Built vendor directory with
composer installin development andcomposer install --no-devin production. - Create virtual host block in
/etc/apache2/sites-enabled/000-default.confor create your own*.conffile in the same directory. cp .env.example .envto copy initialize configuration.- Generate an app key
php artisan key:generate - Run migrations to build tables
- Add storage file structure
cd /storage/app/public/thenmkdir videosmkdir gifsmkdir thumbnails - Create link between storage and public:
php artisan storage:link - Set permissions:
chown -R www-data .andsudo chown -Rf www-data:www-data /var/www/html/*
- Install
ffmpegfor multimedia assets to work. UpdateLIB_FFMPEGin your.envfile with the path toffmpeg(usually/usr/bin/ffmpegon Ubuntu)