Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/huobazi/carrierwave-qiniu-example

This a example project for carrierwave-qiniu
https://github.com/huobazi/carrierwave-qiniu-example

carrierwave carrierwave-qiniu example ruby

Last synced: 6 days ago
JSON representation

This a example project for carrierwave-qiniu

Awesome Lists containing this project

README

        

This is a example project for [carrierwave-qiniu](https://github.com/huobazi/carrierwave-qiniu)

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

```ruby
::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