Skip to content

wspinks/onebody

 
 

Repository files navigation

Church.IO OneBody

Build Status Code Climate Site

OneBody is open-source, web-based social networking, email list, online directory, and lightweight document management software for churches.

It's like a cross between Facebook, Google Groups, and SharePoint, but it's completely free and open source and awesome.

OneBody is built with Ruby on Rails and MySQL, and has been in production use at churches for over seven years!

You can see lots of screenshots here.

screnshots

Production Installation

Please see the Installation Page on the wiki.

Development Setup Using Vagrant

If you're a developer and want to get everything running locally, this is the easiest way.

Operating System: Windows, Mac, or Linux

  1. Install VirtualBox. It's free and it runs on Windows, Mac, and Linux.
  2. Install Vagrant.
  3. git clone git://github.com/churchio/onebody.git && cd onebody
  4. vagrant up

Now visit the site running in development mode at localhost:8080

Whenever gems are updated or new migrations are needed, you can just run vagrant provision.

To restart the Rails server, type touch tmp/restart.txt. Or you can vagrant reload to restart the dev box.

For more help with Vagrant, check out the Vagrant docs.

Development Setup the Manual Way

Operating System: Mac or Linux (See Vagrant above if you're on Windows)

  1. Install Ruby 2.1.2 or higher (we recommend you use RVM).
  2. Install MySQL.
  3. Install Git.
  4. Install ImageMagick.
  5. git clone git://github.com/churchio/onebody.git && cd onebody
  6. mysql -u root -e "create database onebody_dev default character set utf8 default collate utf8_general_ci; grant all on onebody_dev.* to onebody@localhost identified by 'onebody';"
  7. cp config/database.yml{.example,}
  8. bundle install
  9. cp config/secrets.yml{.example,} && vim config/secrets.yml and add a random secret token to both the "development" and "test" sections (you can use rake secret to generate a new random secret).
  10. rake db:migrate
  11. rails server

Now visit the site running in development mode at http://localhost:3000.

Tests

To run tests:

rspec

If you don't have a test database yet, create it like you did the dev database:

mysql -u root -e "create database onebody_test default character set utf8 default collate utf8_general_ci; grant all on onebody_test.* to onebody@localhost identified by 'onebody';"

Get Help

  • IRC channel #church.io on Freenode (try the web-based IRC client)
  • Wiki - There is some (possibly outdated) information here. We'll work to clean this up shortly after releasing 3.0.
  • Google Group

Contributing

To help fix a bug, first make sure it has a logged issue (if not, create one), then:

  1. Fork this repo on GitHub.
  2. Set up the software on your computer by following the directions in one of the "Development" sections above.
  3. Fix the bug, run the tests (see the "Tests" section above) to make sure they all pass.
  4. Submit a Pull Request to get your bug fix merged!

If you'd like to add an awesome new feature, please hop on IRC to talk about what you want to do. We might be able to save you some time building something that 1) we've already done, 2) won't work, or 3) we'll never use. Also, we'd like to give some guidance on approach, coding style, tests, etc.

Copyright

Copyright (c) Tim Morgan

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

This software is license under the GNU Affero General Public License, version 3. See LICENSE provided with this program for the entire text.

"Church.IO" is a trademark of our federation of developers and cannot be used for promotional purposes without express written permission.

Design

Design is a derivative of AdminLTE, copyright (c) almasaeed2010, available here, licensed under MIT license. See LICENSE.

About

private member portal for churches built with Ruby on Rails

Resources

License

Stars

Watchers

Forks

Packages

No packages published