wilkesreid / easy-laravel

Get Laravel up and running as quickly and easily as possible. Made for Mac.
3 stars 0 forks source link

Laravel storage and bootstrap/cache directory permissions #1

Closed wilkesreid closed 8 years ago

wilkesreid commented 8 years ago

Docker containers have issues when it comes to mounted volumes shared with the host, especially when it comes to user/directory permissions. Laravel requires that the storage and bootstrap/cache directories are writable, but because those directories are being shared between the host and php container, there are issues. The ./install command sets the permissions to 777 initially so Laravel can get up and running in the first place, but running an artisan command like php artisan make:auth will cause Laravel to break. Contributions to this repository attempting to fix this problem will be very welcome.

wilkesreid commented 8 years ago

When running ./artisan make:auth, then ./artisan view:clear should be run after.