public
Description: An extension for Radiant CMS that lets you serve multiple sites (domains) from a single instance.
Homepage:
Clone URL: git://github.com/radiant/radiant-multi-site-extension.git
jfrench (author)
Tue Jun 24 07:53:39 -0700 2008
commit  a790f04798615862cdc249efc6be175d356c06cc
tree    4e5c649de503cea7a0c5df653234762734c7bf3d
parent  2322d3436e209debfdb3a77cae583cd0edfa4030
name age message
file README Loading commit data...
file Rakefile Fri Jun 20 11:37:08 -0700 2008 Import from old repository. [seancribbs]
directory app/
directory db/ Fri Jun 20 11:37:08 -0700 2008 Import from old repository. [seancribbs]
directory lib/
file multi_site_extension.rb
directory public/ Fri Jun 20 11:37:08 -0700 2008 Import from old repository. [seancribbs]
directory spec/ Tue Jun 24 13:43:59 -0700 2008 Site callbacks [jfrench]
directory vendor/ Tue Jun 24 13:43:59 -0700 2008 Routing extensions [jfrench]
README
= Multi Site

Created by Sean Cribbs, November 2007. Inspired by the original virtual_domain
behavior.

Multi Site allows you to host multiple websites on a single Radiant
installation.

Each site has its own independent sitemap/page-tree and these attributes:

  name: Whatever you want to call the site
  domain: A Ruby regular expression (without the //) to match the request
          against
  base_domain: A canonical domain name for doing quicker matches and for
               generating absolute URLs against
  homepage_id: The numerical database ID of the root page (usually
               you can just leave this alone).

Included images are slightly modified from FamFamFam Silk Icons by Mark James:
http://www.famfamfam.com/lab/icons/silk/

*** THIS EXTENSION REQUIRES THE 'SHARDS' EXTENSION TO BE INSTALLED ***

== Installation

1) Unpack/checkout/export the extension into vendor/extensions of your 
   project.

2) Run the extension migrations.

  $ rake production db:migrate:extensions

3) Run the extension update task.

  $ rake radiant:extensions:multi_site:update

4) Restart your server

== Acknowledgments

Thanks to Digital Pulp, Inc. for funding the initial development of this
extension as part of the Redken.com project.