fog / fog-digitalocean Goto Github PK
View Code? Open in Web Editor NEWFog for DigitalOcean Platform — Edit
License: MIT License
Fog for DigitalOcean Platform — Edit
License: MIT License
Hi, everyone!
Have this issue on starting rails server
config/initializers/carrierwave.rb
CarrierWave.configure do |config|
config.asset_host = 'https://my-assets.ams3.digitaloceanspaces.com'
config.fog_credentials = {
provider: 'AWS',
aws_access_key_id: ENV['DIGITAL_OCEAN_ACCESS_KEY'],
aws_secret_access_key: ENV['DIGITAL_OCEAN_SECRET_KEY'],
region: 'ams3',
endpoint: 'https://ams3.digitaloceanspaces.com'
}
config.fog_directory = 'my-directory'
config.fog_attributes = { 'Cache-Control' => 'max-age=315576000' }
end
The issue disappears after removing fog-digitalocean
gem.
gem 'fog', '0.7.2'
gem 'fog-digitalocean', '0.4.0'
We need to make sure fog-digitalocean
is following our current patterns to make sure issues we had in the past aren't going to happen again.
Please, follow the steps at this wiki page
I would like to user block storage of digitalocean for storing the images and files, and need to help to do with fog-digital ocean and carrierwave gem.
I'm adding this issue as a reminder. There is a branch with this work in there, but it isn't ready to go yet.
With fog-core 1.45.0 and fog-digitalocean 0.4.0 the following occurs:
> Fog::Compute.new(:provider => "DigitalOcean", :digitalocean_token => '')
LoadError: cannot load such file -- fog/digitalocean/compute
It looks like the file was removed between v0.3.0 and v0.4.0 but is still being required by fog-core.
DigitalOcean and the API now supports DNS ;)
Consider pulling in this PR which never made it to fog trunk: fog/fog#3891
Just saw Digital Ocean announced Spaces for file storage. They said it is compatible with S3? Not sure if that means we get it for free, but would be awesome to switch my code over to use Digital Spaces rather than S3.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.