diff --git a/laravalcache.sh b/laravalcache.sh new file mode 100755 index 000000000..d19cd237e --- /dev/null +++ b/laravalcache.sh @@ -0,0 +1,17 @@ +php artisan cache:clear +php artisan config:clear +php artisan route:clear +php artisan view:clear +php artisan event:clear +php artisan config:cache +php artisan route:cache +php artisan view:cache +php artisan event:cache +chown -R www-data:www-data storage bootstrap/cache +chmod -R 775 storage bootstrap/cache +php artisan package:discover --ansi +php artisan optimize +php artisan queue:work --daemon & +if command -v php >/dev/null 2>&1; then + php -r "if (function_exists('opcache_reset')) opcache_reset();" +fi diff --git a/printlog.sh b/laravallog.sh similarity index 100% rename from printlog.sh rename to laravallog.sh diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore old mode 100644 new mode 100755