Skip to content

Instantly share code, notes, and snippets.

@eodgooch
Forked from greendog/shoponrails_install.md
Created May 28, 2013 01:03
Show Gist options
  • Save eodgooch/5659893 to your computer and use it in GitHub Desktop.
Save eodgooch/5659893 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 'machinist', :group => :development
gem 'ffaker', :group => :development
gem "compass"
gem "compass-rails"
gem "jquery-ui-rails"
gem 'rails-i18n'
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 db:create
4. bundle exec rake shop_on_rails:setup
4.5 bundle exec rake shop_on_rails:refresh_db_with_samples - optional, for the spree/refinery samples
5. replace config/routes.rb with:
root :to => "refinery/pages#home"
mount Spree::Core::Engine, :at => '/'
mount Refinery::Core::Engine, :at => '/'
6. rails s
7. go to http://localhost:3000/refinery/themes and use:
login: admin
password: password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment