diff --git a/bin/init_laravel b/bin/init_laravel index 1365356..65818a4 100755 --- a/bin/init_laravel +++ b/bin/init_laravel @@ -8,6 +8,9 @@ fi # Set up symlink for files dir. files_link "${APP_ROOT}/storage/app/public" -sudo fix_laravel_permissions +# public/storage dir is normally linked from the storage/app/public +# but in our case they are both a symlink to shared storage +# This replaces the need of "php artisan storage:link" +files_link "${APP_ROOT}/public/storage" -php artisan storage:link +sudo fix_laravel_permissions