App-Dapper
view release on metacpan or search on metacpan
2. New buckets block public access by default. To serve a website directly
from the bucket, turn off 'Block public access' for it and add a bucket
policy that allows `s3:GetObject` for everyone. Alternatively, keep the
bucket private and put Amazon CloudFront in front of it, which also gives
you HTTPS.
3. Optionally, create a second bucket named `www.mydomain.com` and set its
static website hosting to 'Redirect requests' to `mydomain.com`.
4. Install and configure the [AWS CLI](https://aws.amazon.com/cli/) with
your credentials:
$ aws configure
5. Now any time you want to rebuild your content and push it to S3, it's a
simple call to:
$ dapper build
$ aws s3 sync _output/ s3://mydomain.com --delete
The `--delete` option removes files from the bucket that are no longer
( run in 1.799 second using v1.01-cache-2.11-cpan-3f962061493 )