2017-01-26から1日間の記事一覧

S3を利用するときの環境変数セット方法(herokuの場合含む)

.bash_profileに追記する $ echo export aws_access_key_id=foo >> ~/.bash_profile $ echo export aws_secret_access_key=bar >> ~/.bash_profile .bash_profileを再読み込み $ source ~/.bash_profile サーバ再起動 herokuの場合 $ heroku login $ heroku …