usmu-s3

Build Status Dependency Status Code Climate

Source: https://github.com/usmu/usmu-s3
Author: Matthew Scharley
Contributors: See contributors on GitHub
Bugs/Support: Github Issues
Copyright: 2014
License: MIT license
Status: Active

Synopsis

Allows you to deploy your Usmu website to Amazon's S3 service.

Installation

$ gem install usmu-s3

OR

$ echo 'gem "usmu-s3"' >> Gemfile
$ bundle install

Usmu will automatically detect any plugins available and automatically make them available.

Configuration

You can configure this plugin in your usmu.yml file:

plugin:
  s3:
    access_key: '%env{AWS_ACCESS_KEY_ID}'
    secret_key: '%env{AWS_SECRET_ACCESS_KEY}'
    region: 'us-east-1'
    bucket: 'usmu.org'

All S3 configuration options can be pulled from environment variables as shown above. Your access key and secret key will default to the above environment variables (the same ones used by the SDK) if not specified.

Usage

$ usmu s3 deploy