codeforamerica / classifyr

A tool for aggregating and crowd-sourcing the classification emergency call data
MIT License
0 stars 1 forks source link

Set up S3 #57

Closed T-Dnzt closed 2 years ago

T-Dnzt commented 2 years ago

Overview

Set up Active Storage with S3 in production.

Type of change

Related tickets

Fixes #18

Changes

Notes

Based on the documentation of aws-sdk-rails:

If you are using ActiveStorage with S3 then you do not need to specify your credentials in your storage.yml configuration: they will be loaded automatically.

We don't need to set any credentials in storage.yml. They should be automatically picked up from the environment as defined for #56.

The only ENV to add is for the bucket name: