Skip to content

Instantly share code, notes, and snippets.

@greendog
Last active April 3, 2016 23:50
Show Gist options
  • Save greendog/4985240 to your computer and use it in GitHub Desktop.
Save greendog/4985240 to your computer and use it in GitHub Desktop.

Fast and simple start with ShopOnrails and Opscode Chef - recommended way: https://github.com/shoponrails/shop_on_rails_kitchen

Step-by-Step way (for advanced users)

  • rails new my_store && cd my_store
  • from Gemfile remove gem 'rais' and gem 'jquery-rails'

and add folowing rows:

gem 'rails-i18n'
gem 'machinist', :group => :development
gem 'ffaker', :group => :development
gem "compass"
gem "compass-rails"
gem 'liquid', :git => 'git://github.com/Shopify/liquid.git'


gem 'spree', :git => "git://github.com/spree/spree.git", :branch => "2-1-stable"
gem 'spree_i18n', :git => 'git://github.com/spree/spree_i18n.git', :branch => '2-1-stable'

gem 'refinerycms', :git => "git://github.com/refinery/refinerycms.git", :branch => "master"
gem 'refinerycms-i18n', :git => "git://github.com/refinery/refinerycms-i18n.git", :branch => "master"
gem 'refinerycms-settings', :git => "git://github.com/refinery/refinerycms-settings.git", :branch => "master"
gem 'refinerycms-blog', :git => "git://github.com/refinery/refinerycms-blog.git", :branch => "master"
gem 'refinerycms-news', :git => "git://github.com/refinery/refinerycms-news.git", :branch => "master"
gem 'refinerycms-inquiries', :git => "git://github.com/refinery/refinerycms-inquiries.git", :branch => "master"

gem 'shop_on_rails', :git => 'git://github.com/shoponrails/shop_on_rails.git'
gem 'clot_engine', :git => 'git://github.com/greendog/clots.git'
  • bundle install
  • bundle exec rake db:create
  • bundle exec rake shop_on_rails:setup
  • bundle exec rake shop_on_rails:refresh_db_with_samples - optional, for the spree/refinery samples
  • replace config/routes.rb with:
root :to => "refinery/pages#home"
mount Spree::Core::Engine, :at => '/'
mount Refinery::Core::Engine, :at => '/'

login: admin

password: password

@greendog
Copy link
Author

To ALL !
Join to the group: https://groups.google.com/d/forum/shoponrails -- please ask all questions about the installation in this group

Copy link

ghost commented Dec 3, 2013

@greendog how do you put Spree content into a Refinery CMS page? Or, at least, how are you using it?

@Wooobee
Copy link

Wooobee commented Oct 24, 2014

Hey I really like your project but I have issues getting it work due to different Versions of Rails and the dependencies of some gems. Can you or anyone tell me which version of Rails and the other gems you use. I would love to see you Gemfile with the versions.

Best Manu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment