public
Description: OneBody is free, open-source, web-based social networking and online directory software for churches.
Home | Edit | New

RakeTasks

Settings

rake onebody:settings

No additional arguments.

Data

rake onebody:load_sample_data

Load sample data into the database.

No additional arguments.

rake onebody:export:people:csv

Export OneBody people data as CSV file

Arguments:

  • FILE, path to file to write
  • SITE (required if multiple sites are enabled)

rake onebody:export:people:xml

Export OneBody people data as XML file

Arguments:

  • FILE, path to file to write
  • SITE (required if multiple sites are enabled)

Users

rake onebody:new_user

Create a new Super Admin user. The person should not already exist in the database.

Arguments:

  • SITE (required if multiple sites are enabled)

Sites

OneBody is capable of hosting multiple sites (aka communities) from a single running instance of the software. By default, this feature is disabled.

rake onebody:sites:on

Enable multiple sites. You must restart OneBody for this command to take effect.

No additional arguments.

rake onebody:sites:off

Disable multiple sites. You must restart OneBody for this command to take effect.

No additional arguments.

rake onebody:sites:activate

Activate a site.

Arguments:

  • NAME, e.g. NAME=“One Church”

rake onebody:sites:deactivate

Deactivate a site.

Arguments:

  • NAME, e.g. NAME=“One Church”

rake onebody:sites:add

Add a site.

Arguments:

  • NAME, e.g. NAME=“One Church”
  • HOST, e.g. HOST=“onechurch.beonebody.com”

rake onebody:sites:modify

Modify a site.

Arguments:

  • NAME, e.g. NAME=“One Church”
  • NEW_NAME (optional), e.g. NEW_NAME=“One Church Family”
  • HOST, e.g. HOST=“onechurch.beonebody.com”

rake onebody:sites:delete

Delete a site.

Arguments:

  • NAME, e.g. NAME=“One Church”

You will be prompted to confirm you want to delete the site.

API

rake onebody:api:key

Display a super user API key.

Arguments:

  • EMAIL
  • SITE (required if multiple sites are enabled)

The user must already be a Super Admin.

Last edited by seven1m, Thu Oct 15 20:22:36 -0700 2009
Home | Edit | New
Versions: