Skip to content

Instantly share code, notes, and snippets.

@oiojin831
Last active September 10, 2015 04:25
Show Gist options
  • Save oiojin831/c3fa43857ce3d47ec967 to your computer and use it in GitHub Desktop.
Save oiojin831/c3fa43857ce3d47ec967 to your computer and use it in GitHub Desktop.
s3 middleman setting
  • aws cli install

  • middleman build

  • aws configure credential setting

aws s3 mb s3://rollintiger.com 
aws s3 rm s3://rollintiger.com --recursive
aws s3 sync build s3://rollintiger.com --acl public-read --cache-control "public, max-age=86400"
aws s3 website s3://rollintiger.com --index-document index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment