Monthly Archives: February 2015

Refinery Hosting on Heroku

Prerequisites 1) The Ruby language version 1.9.3 or higher 2) A working installation of ImageMagick 1) create a gemset using RVM rvm use –create ruby-1.9.3@refinery 2)Installing Refinery gem install refinerycms 3) Creating a Refinery application refinerycms mycms 4) Starting up … Continue reading

Posted in ruby on rails, web development | Tagged , , , , , , , | Leave a comment

configure S3 in spree, Heroku

1) add gem ‘aws-sdk’ and then bundle install. add to spree.rb located at config/intializers/spree.rb. you don’t want to change anything in this code attachment_config = { s3_credentials: { access_key_id: ENV[‘AWS_ACCESS_KEY_ID’], secret_access_key: ENV[‘AWS_SECRET_ACCESS_KEY’], bucket: ENV[‘S3_BUCKET_NAME’] }, storage: :s3, s3_headers: { “Cache-Control” … Continue reading

Posted in ecommerce, web development | Tagged , , , , , , | Leave a comment