/activestorage-backblaze

Looking for co-committers. Pls reach out. Activestorage (rails 6) gem for using backblaze b2 as the storage (just like aws s3 etc)

Primary LanguageRuby

This is a gem for using backblaze with activestorage.

Usage:

gem 'activestorage-backblaze'

Then in your storage.yml, use the following

backblaze:
  service: Backblaze
  bucket_name: <bucket_name>
  bucket_id: <bucket_id>
  key_id: <keyId>
  key_token: <keyToken>

In your environments/production.rb or application.rb (depending on your choice) add the following:

config.active_storage.service = :backblaze