Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/huobazi/carrierwave-qiniu-example
- Owner: huobazi
- Created: 2012-08-17T15:26:42.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-05-21T08:29:14.000Z (over 4 years ago)
- Last Synced: 2023-03-22T17:18:19.807Z (over 1 year ago)
- Topics: carrierwave, carrierwave-qiniu, example, ruby
- Language: Ruby
- Size: 31.3 KB
- Stars: 8
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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