Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call storage:link on install #1133

Merged
merged 1 commit into from
Sep 7, 2022
Merged

Call storage:link on install #1133

merged 1 commit into from
Sep 7, 2022

Conversation

jessarcher
Copy link
Member

@jessarcher jessarcher commented Sep 7, 2022

Jetstream's profile photos feature requires the public/storage symlink to work correctly.

Currently, this is created automatically in the laravel installer when you run it with --jet, however, the Laravel installer is not documented and is typically run via the laravel.build service, which does not support the --jet flag.

This PR adds storage:link to the install command so that it is always run regardless of which method is used to install Jetstream.

There is a PR at laravel/installer#245 to remove it from the installer.

I have tested this with the storage symlink already in place, and it silently carries on without issue.

@jessarcher jessarcher marked this pull request as ready for review September 7, 2022 07:33
@taylorotwell taylorotwell merged commit 78a1f43 into 2.x Sep 7, 2022
@taylorotwell taylorotwell deleted the storage-link branch September 7, 2022 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants