No commit activity in last 3 years
No release in over 3 years
Configures Carrierwave to use S3 through ENV variables.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0

Runtime

~> 0.10.0
~> 1.34.0
~> 0.7.6
 Project Readme

Metova Carrierwave

Metova Carrierwave configures Carrierwave to use Amazon S3 by inspecting ENV for your S3 configuration options.

Installation

Add this line to your application's Gemfile:

gem 'metova-carrierwave'

And then execute:

$ bundle

Or install it yourself as:

$ gem install metova-carrierwave

Usage

Set the following ENV variables:

ENV['AWS_S3_BUCKET_NAME']
ENV['AWS_S3_ACCESS_KEY_ID']
ENV['AWS_S3_SECRET_ACCESS_KEY']

Your app is now configured to upload files to the ENV['AWS_S3_BUCKET_NAME'] S3 bucket. In the test environment, file storage will be used instead and processing will be disabled.

If any of the ENV variables are absent, the configuration is skipped.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/metova-carrierwave/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request