Skip to content

Instantly share code, notes, and snippets.

@alfadoblemas
Forked from greendog/shoponrails_install.md
Created August 24, 2014 15:36
Show Gist options
  • Save alfadoblemas/9d532a9b73b69f6ebc14 to your computer and use it in GitHub Desktop.
Save alfadoblemas/9d532a9b73b69f6ebc14 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

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