to build upload and display image features
-
use gem ‘paperclip’, ‘aws-sdk’, ‘figaro’
-
bundle install
-
bundle exec figaro install
-
set up amazon s3 bucket
-
enter aws credential in application.yml
-
setup aws setting in config/enviroments/development.rb and config/enviroments/development.rb
-
update post model