Skip to content

Instantly share code, notes, and snippets.

@greendog
Last active April 3, 2016 23:50
Show Gist options
  • Select an option

  • Save greendog/4985240 to your computer and use it in GitHub Desktop.

Select an option

Save greendog/4985240 to your computer and use it in GitHub Desktop.
  • rails new my_store && cd my_store
  • to Gemfile remove gem 'rais', gem 'jquery-rails'

and add folowing rows:

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


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

gem 'refinerycms', :git => "git://github.com/greendog/refinerycms.git", :branch => "2-1-stable"
gem 'refinerycms-i18n', :git => "git://github.com/refinery/refinerycms-i18n.git", :branch => "2-1-stable"
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/shoponrails/clots.git'
gem 'spreefinery_core', :git => 'git://github.com/shoponrails/spreefinery_core.git'
gem 'spreefinery_themes', :git => 'git://github.com/shoponrails/spreefinery_themes.git'
  • bundle install
  • bundle exec 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 => '/'


* ```rails s```
* go to http://localhost:3000/refinery/themes and use:

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