git clonein your working folder.bundle installto download all dependencies.middleman sto run development server, and open inhttp://localhost:4567
middleman bto build the static HTML output.- Add a file named
.s3_syncand add AWS credential as following:
aws_access_key_id: AKIAXXX
aws_secret_access_key: pmkBwxxxxxxxx
- Open
config.rbfile, aroundactivate :s3_syncline, customize your AWS bucket and region.