Skip to content
 
 

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CarrierWave for Aliyun OSS

This gem adds support for Aliyun OSS to CarrierWave

Installation

gem install carrierwave-aliyun

Using Bundler

gem 'rest-client'
gem 'carrierwave-aliyun'

Configuration

You'll need to configure the to use this in config/initializes/carrierwave.rb

CarrierWave.configure do |config|
  config.storage = :aliyun
  config.aliyun_access_id = "xxxxxx"
  config.aliyun_access_key = 'xxxxxx'
  # you need create this bucket first!
  config.aliyun_bucket = "simple"
end

About

阿里云 OSS Ruby 上传组件,基于 Carrierwave

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors