Wedding Website for Jonathan Suderman & Janessa Sheppard
http://nessjon.com
brew install nodenpm install -g grunt-cli bower foremangit clone git@github.com:suderman/nessjon.com.git && cd nessjon.comnpm installbower installgruntforeman start
- Visit https://console.aws.amazon.com/s3/
- Create new bucket named
assets.website.com - Visit https://dnsimple.com/domains/website.com/records/new?record_type=CNAME
- Create CNAME record
assetspointing toassets.website.com.s3.amazonaws.com
- Won't work for SSL (secure: false in grunt-s3)
- In config.json, set bucket to
assets.website.comand cdn to//assets.website.com
- Visit https://console.aws.amazon.com/s3/
- Click bucket -> properties -> permissions -> edit CORS configuration
- Add the following and save (may already be given sample config):
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>Authorization</AllowedHeader>
</CORSRule>
</CORSConfiguration>