exchange/permissions.sh

12 lines
413 B
Bash
Raw Normal View History

2022-01-10 12:03:57 +00:00
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