Skip to content

philenius/PhotoGallery

Repository files navigation

README

Deployment

  • Edit the php configuration file /etc/php/7.0/Apache/php.ini. The following three options restrict the upload size of files. Make sure that these options are set to a minimum of 30MB or higher:

    • upload_max_filesize
    • post_max_size
    • memory_limit
  • Make sure that the web server (user: www-data) has read and write permissions to the public/uploads folder which contains the uploaded images.

  • Make sure that the web server has read and write permissions to the zip archive allPhotos.zip within the directory public/uploads/.

  • Install the PHP extension ImageMagick:

    • Installation:
     sudo apt-get install php-imagick
    
    • Activate the extension in /etc/php/7.0/fpm/php.ini:
     extension=imagick.so
    
    • Perform a reboot
  • Don't forget to run the migrations with the seeder:

php artisan migrate --seed

About

Web app which people can use to upload their own photos and download photos of others.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published