Skip to content

jeremyhaile/spree-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spree + Amazon S3

Amazon S3 integration for your Spree (v0.30.1) store, using the aws-s3 gem. Normally, Spree saves all image assets to disk. This extension will pass all product and taxon assets along to your S3 bucket instead.

Installation

Add to project’s Gemfile:

gem ‘spree_s3’, ‘>=0.1’, :git => ‘git://github.com/thoughtful/spree-s3.git’

Run from project’s root:

bundle install
rake spree_s3:install

Configuration

Create config/s3.yml within your Spree site.

production:
	key: [your access key]
	secret: [your access secret]
	bucket: [your s3 bucket name]

Or use config vars. For Heroku, setting these vars can be as simple as

$ cd mystore
$ heroku config:add S3_KEY=[your access key] S3_SECRET=[your access secret] S3_BUCKET=[your s3 bucket name]

About

Amazon S3 integration for Spree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published