Closed rasodu closed 8 years ago
Also create 5 default buckets. So they can be used in your application.
Instructions to use s3cmd. s3cmd is configured to connect to 'losthost:4569'
docker exec -it dlemp_webapp.dev_1 /bin/bash
s3cmd mb s3://<bucket-name> //Create new bucket
s3cmd ls //List all buckets
s3cmd ls s3://<bucket-name>[dir-path/] //List content in the path in the bucket
You may use 'root' key in Larvel S3 bucket config to create multiple Laravel disks in a single S3 bucket
's3' => [
'driver' => 's3',
'key' => 'your-key',
'secret' => 'your-secret',
'region' => 'your-region',
'bucket' => 'your-bucket',
//'root' => '<folder-name>' //Optional: This disk will put all files in folder <folder-name> in S3 bucket.
]
Why to use FakeS3: http://blog.getspool.com/2012/04/18/fake-s3-save-time-money-and-develop-offline/