Acta-Diurna is a blogging service using the Laravel Framework.
- Built vendor directory with
composer install
in development andcomposer install --no-dev
in production. - Create virtual host block in
/etc/apache2/sites-enabled/000-default.conf
or create your own*.conf
file in the same directory. cp .env.example .env
to 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 videos
mkdir gifs
mkdir 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
ffmpeg
for multimedia assets to work. UpdateLIB_FFMPEG
in your.env
file with the path toffmpeg
(usually/usr/bin/ffmpeg
on Ubuntu)