App-Dapper
view release on metacpan or search on metacpan
$ aws s3 sync _output/ s3://mydomain.com --delete
The `--delete` option removes files from the bucket that are no longer
in `_output` (Dapper removes the output of source files you delete, so
the two stay in step). If you upload files to the bucket independently
of Dapper, leave `--delete` off. `dapper deploy` does all of this in
one step.
If you use Amazon Route 53 for DNS, create an alias A record for
`mydomain.com` (and `www.mydomain.com`) that points at the bucket's website
endpoint, or at your CloudFront distribution.
To make it easy to publish to Amazon S3, one option is to create a Makefile
that encodes the publishing instructions. For example:
S3_BUCKET=mydomain.com
build:
dapper build
clean:
( run in 3.013 seconds using v1.01-cache-2.11-cpan-eb134014566 )