Skip to content
jdutil edited this page Sep 14, 2010 · 3 revisions

Welcome to the spree-multi-domain wiki!

Installation Guide
(Written as attempted)

  1. script/extension install git://github.com/railsdog/spree-multi-domain.git
  2. rake db:migrate
  3. script/server
  4. Log onto Admin first (Main site will be broken)
  5. Go to Configuration → Store Admin and add a new, default store.
  6. create a folder in your vendor/extensions/site/app/views/layout dir with the same name as you “code” you just entered in the admin interface, making sure a copy of spree_application.html.erb is in there (I personally made a soft link to the layouts dir itself, other codes will point to new dirs)
  7. Add products to each Store, either through the admin interface (in product edit there is now a Stores list of checkboxes) or via other scripted means.
Clone this wiki locally