add information to set up carrierwave for local filesystems
This commit is contained in:
parent
7a4253a7e4
commit
161878f57e
@ -28,6 +28,10 @@ CarrierWave.configure do |config|
|
|||||||
config.s3_secret_access_key = ENV['S3_SECRET_KEY']
|
config.s3_secret_access_key = ENV['S3_SECRET_KEY']
|
||||||
config.s3_bucket = ENV['S3_BUCKET']
|
config.s3_bucket = ENV['S3_BUCKET']
|
||||||
# config.s3_cname = 'ENV['S3_CNAME']
|
# config.s3_cname = 'ENV['S3_CNAME']
|
||||||
|
|
||||||
|
# settings for the local filesystem
|
||||||
|
# config.storage = :file
|
||||||
|
# config.root = File.join(Rails.root, 'public')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -14,6 +14,10 @@ CarrierWave.configure do |config|
|
|||||||
config.s3_secret_access_key = ENV['S3_SECRET_KEY']
|
config.s3_secret_access_key = ENV['S3_SECRET_KEY']
|
||||||
config.s3_bucket = ENV['S3_BUCKET']
|
config.s3_bucket = ENV['S3_BUCKET']
|
||||||
# config.s3_cname = 'ENV['S3_CNAME']
|
# config.s3_cname = 'ENV['S3_CNAME']
|
||||||
|
|
||||||
|
# settings for the local filesystem
|
||||||
|
# config.storage = :file
|
||||||
|
# config.root = File.join(Rails.root, 'public')
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user