Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
Update (simplify) readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
seven1m committed Jun 26, 2013
1 parent f1b0ecf commit 6189e85
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 44 deletions.
4 changes: 3 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Install/Upgrade

**NOTE: these instructions are out of date.**

Installation has been tested on Ubuntu Linux 10.04.1 LTS (Lucid Lynx) and 10.10 (Maverick Meerkat). If you are using a different Linux distro or Mac OS X, you will need to adjust some of the commands below to match your environment.

Supplemental install notes are available for CentOS 5.5 in the `doc` folder.
Expand All @@ -13,7 +15,7 @@ Do **not** run as the root user directly (use `sudo`).

### 0. Ruby on Your <span style="color:green;">[Workstation]</span>

You'll need Ruby 1.8.7 on your Workstation (other versions may work, but are untested).
You'll need Ruby 1.9.3 on your Workstation (other versions may work, but are untested).

For **Ubuntu** workstations, this should work (though RVM would be better here):

Expand Down
55 changes: 12 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,33 @@
# OneBody

OneBody is open-source, web-based social networking and online directory software for churches. OneBody is built on Ruby on Rails 3 and MySQL.
OneBody is open-source, web-based social networking and online directory software for churches. OneBody is built on Ruby 1.9.3, Rails 3.2 and MySQL.

Screenshots and feature information can be found at the [commercial website](http://beonebody.com).

## Setup

## Install on Ubuntu
1. Install Ruby 1.9.3 or higher (we recommend you use [RVM](https://rvm.io/)).
2. Install MySQL.
3. `git clone git://github.com/seven1m/onebody.git`
4. `mysql -u root -e "create database onebody_dev; grant all on onebody_dev.* to onebody@localhost identified by 'onebody';"`
5. `cd onebody && bundle install && rake db:migrate`
6. `rails server`

OneBody is a complex app with a lot of moving parts. Installation can be lengthy, so we've tried to automate as much of the process as possible using [Capistrano](http://github.com/capistrano/capistrano).

If you're dedicated server or VPS is Ubuntu 10.04 or higher, try this:

# 1. on your server:
sudo adduser deploy
sudo adduser deploy sudo
# copy your SSH public key to avoid password prompts
sudo apt-get install git-core curl build-essential zlib1g-dev libssl-dev libreadline5-dev imagemagick rsync
# follow http://rvm.beginrescueend.com/rvm/install/ to install RVM
rvm install ree
rvm use ree@onebody --create --default

# 2. on your local machine:
gem install capistrano
# edit config/deploy.rb to point to your server
cap prepare:ubuntu:mysql
cap prepare:ubuntu:apache
cap prepare:ubuntu:passenger
cap prepare:ubuntu:postfix
cap prepare:ubuntu:bundler
cap deploy:setup
cap deploy:migrations

# 3. on your server
# edit /etc/apache2/sites-available/default
# and point DocumentRoot to "/var/www/apps/onebody/current/public"
sudo /etc/init.d/apache2 reload
# you may also need to set smtpd_use_tls=no in your /etc/postfix/main.cf

# 4. in your web browser:
# visit http://your-server-name-or-ip
Now visit the site running in development mode at localhost:3000.

We also have full step-by-step instructions in our INSTALL.md file.

Please visit the [PostfixEmailSetup](http://github.com/seven1m/onebody/wiki/PostfixEmailSetup) page on the wiki for help with setting up incoming email.


## More Information
## Get Help

* [Wiki](http://wiki.github.com/seven1m/onebody) - A wonderful resource full of helpful information; Check here first.
* [Blog](http://blog.beonebody.com) - Some intermittent updates about new features.
* [Google Group](http://groups.google.com/group/onebodyapp) - Community of hackers working on OneBody and running their own OneBody servers. If you're stuck, ask nicely for some help and you will probably get it.
* [Twitter](http://twitter.com/onebody) - Status updates for beonebody.com and occasional feature notes.
* [Google Group](http://groups.google.com/group/churchio) - Community of people building open source church software. If you're stuck, ask nicely for some help and you will probably get it.


## Copyright

Copyright (c) 2008-2010, [Tim Morgan](http://timmorgan.org)


## Disclaimer & License
Copyright (c) 2008-2013, [Tim Morgan](http://timmorgan.org)

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.

Expand Down

0 comments on commit 6189e85

Please sign in to comment.