Every repository with this icon (
Every repository with this icon (
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:
- SITE (required if multiple sites are enabled)
The user must already be a Super Admin.






