Skip to content

Commit

Permalink
Update init_laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov authored Sep 14, 2024
1 parent 3e06134 commit 832ceaf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/init_laravel
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 832ceaf

Please sign in to comment.