sudo chown -R exchange:www-data /var/www/exchange
sudo find /var/www/exchange -type f -exec chmod 644 {} \;
sudo find /var/www/exchange -type d -exec chmod 755 {} \;
sudo chgrp -R www-data storage bootstrap/cache public
sudo chmod -R ug+rwx storage bootstrap/cache public
sudo chmod +x permissions.sh

composer install --optimize-autoloader
php artisan config:cache
php artisan view:cache
php artisan route:clear
