Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 961 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 961 Bytes

Acta-Diurna is a blogging service using the Laravel Framework.

Installation

  1. Built vendor directory with composer install in development and composer install --no-dev in production.
  2. Create virtual host block in /etc/apache2/sites-enabled/000-default.conf or create your own *.conf file in the same directory.
  3. cp .env.example .env to copy initialize configuration.
  4. Generate an app key php artisan key:generate
  5. Run migrations to build tables
  6. Add storage file structure cd /storage/app/public/ then mkdir videos mkdir gifs mkdir thumbnails
  7. Create link between storage and public: php artisan storage:link
  8. Set permissions: chown -R www-data . and sudo chown -Rf www-data:www-data /var/www/html/*

Reminders

  1. Install ffmpeg for multimedia assets to work. Update LIB_FFMPEG in your .env file with the path to ffmpeg (usually /usr/bin/ffmpeg on Ubuntu)