-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWSの環境をセットする. #16
Comments
大まかにやること
|
Merged
エラー gem 'aws-sdk', '~> 2'を再度インストールし, @s3 = Aws::S3::Resource.new(
region: 'ap-northeast-1', # リージョン東京
credentials: Aws::Credentials.new(
ENV['AWS_S3_ACCESS_KEY_ID'], # S3用アクセスキー
ENV['AWS_S3_SECRET_ACCESS_KEY'] # S3用シークレットアクセスキー
)
) と呼び出してみたもののエラー. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
関連issue
#12
背景
herokuにappをデプロイしたが,画像はそのままだと消えてしまうため,S3に保存するように設定する.
期待される効果
The text was updated successfully, but these errors were encountered: