Sync content of 'storage/app/' with 's3://webapp.dev/default/' bucket when cmd startsup
Find commands to do following in s3 cmd and add them to short list of commands
Sync two folders 'storage/app/images' to 's3://webapp.dev/default/images'
Only copy additional files from one folder without deleting removed file from other folder
Think about how to manage static files on s3(JS, CSS, etc)
Sync content of 'public/static/' with 's3://webapp.dev/default/static' bucket when cmd startsup or any of the file in 'public/static/' directory is modified
Change Laravel configuration so that assset function prepends s3 bucket link instead of 'public/storage' in the link to static file.
*Note: You will not be able to use HTTP2 push if you store assets files on s3
What are advantages of syncing 'storage/app/' with 's3://webapp.dev/default/' during development?
None of the seed files in 'storage/app/' are changed during development. Any file that is modified or new file that are uploaded only exist on s3mock container.
Using s3mock setup during development process is closer to production environment if you plan to use s3 in production.
http://s3tools.org/s3cmd-sync http://stackoverflow.com/questions/22875556/where-do-javascript-and-css-files-go-in-a-laravel-project
Make following changes to compose file
Find commands to do following in s3 cmd and add them to short list of commands
Think about how to manage static files on s3(JS, CSS, etc)
What are advantages of syncing 'storage/app/' with 's3://webapp.dev/default/' during development?