Skip to content

huobazi/carrierwave-qiniu-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a example project for carrierwave-qiniu

You'll need to configure it in config/initializes/carrierwave.rb

::CarrierWave.configure do |config|
  config.storage             = :qiniu
  config.qiniu_access_key    = "your qiniu access_key"
  config.qiniu_secret_key    = 'your qiniu secret_key'
  config.qiniu_bucket        = "carrierwave-qiniu-example"
  config.qiniu_bucket_domain = "carrierwave-qiniu-example.yourdomain.com"
end

For more information on qiniu_bucket_domain, please read https://developer.qiniu.com/kodo/kb/5859/domain-name-to-access-the-storage-space

About

This a example project for carrierwave-qiniu

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published