Skip to content

Instantly share code, notes, and snippets.

@supairish
Forked from greendog/shoponrails_install.md
Created March 30, 2013 22:36
Show Gist options
  • Save supairish/5278657 to your computer and use it in GitHub Desktop.
Save supairish/5278657 to your computer and use it in GitHub Desktop.
0. rails new my_store && cd my_store
1. to Gemfile
remove gem 'rais', gem 'jquery-rails'
and add folowing rows:
-------------------------------------------------------------------------------------------------------
gem 'liquid', :git => 'git://github.com/Shopify/liquid.git'
gem 'spree', :git => "git://github.com/spree/spree.git", :branch => "1-3-stable"
gem 'spree_i18n', :git => 'git://github.com/spree/spree_i18n.git'
gem 'refinerycms', :git => "git://github.com/refinery/refinerycms.git"#, :branch => "2-0-stable"
gem 'refinerycms-i18n', :git => "git://github.com/refinery/refinerycms-i18n.git"#, :branch => "2-0-stable"
gem 'refinerycms-settings', :git => "git://github.com/refinery/refinerycms-settings.git"#, :branch => "2-0-stable"
gem 'refinerycms-blog', :git => "git://github.com/refinery/refinerycms-blog.git"#, :branch => "2-0-stable"
gem 'refinerycms-news', :git => "git://github.com/refinery/refinerycms-news.git"#, :branch => "2-0-stable"
gem 'refinerycms-inquiries', :git => "git://github.com/refinery/refinerycms-inquiries.git"#, :branch => "2-0-stable"
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'
-------------------------------------------------------------------------------------------------------
2. bundle install
3. bundle exec rake shop_on_rails:setup
4. replace config/routes.rb with:
root :to => "refinery/pages#home"
mount Spree::Core::Engine, :at => '/'
mount Refinery::Core::Engine, :at => '/'
5. comment line << Spree.user_class = "Spree::LegacyUser" >> in config/initializers/spree.rb
6. rails s
7. go to http://localhost:3000/refinery and use:
login: admin
password: password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment