This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
MultiSite
OneBody has the ability to host multiple sites with only one installed instance.
To list, add, edit, and remove sites, you must work from the command line, using the rake tool.
Setup Mode
You can easily manage your sites using SetupMode. script/server -e setup
Enable/Disable
To enable or disable multisite operation:
cd /path/to/instance
rake onebody:sites:on
- or
rake onebody:sites:off
Commands
To see a list of commands, run this:
rake --describe onebody:sites
Some commands require additional arguments, i.e. the add command requires NAME and HOST arguments:
rake onebody:sites:add NAME="My Other Site" HOST="somedomain.com"
About Hosts
The host (specified as HOST on the command line) property of a site affects two operations within OneBody:
- Web Server Site Selection
When someone visits somedomain.com (and you have requests forwarded through your web server to OneBody),
the host is looked up in the list of Sites. If it matches, that is the site that is served to the visitor. - Incoming and Outgoing Email
All outgoing email uses the host of the current site to build the dynamic email addresses. For instance,
an email from Tim Morgan in the “Imaginary Church” site (withhost = "imaginaryfamily.com") has a
from address of timmorgan@imaginaryfamily.com. Also, incoming email is matched with the appropriate site
based on the host.
No WWW Please
Do not put a www. on the front of the host when creating/editing your sites.






