This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
== Dependencies |
| 2 |
|
| 3 |
- git >= 1.5 |
| 4 |
- ruby >= 1.9.2 |
| 5 |
- rubygems >= 1.3.7 |
| 6 |
- mongodb >= 1.7 |
| 7 |
- ruby on rails 3 |
| 8 |
|
| 9 |
== Install Dependencies |
| 10 |
|
| 11 |
sudo gem install bundler |
| 12 |
|
| 13 |
== Getting Started |
| 14 |
|
| 15 |
1. Download the sources: |
| 16 |
|
| 17 |
git clone git://gitorious.org/shapado/shapado.git |
| 18 |
|
| 19 |
cd shapado/ |
| 20 |
|
| 21 |
2. Configure the application |
| 22 |
|
| 23 |
cp config/shapado.sample.yml config/shapado.yml |
| 24 |
cp config/mongoid.sample.yml config/mongoid.yml |
| 25 |
cp config/auth_providers.sample.yml config/auth_providers.yml |
| 26 |
|
| 27 |
edit shapado.yml and auth_providers.yml |
| 28 |
|
| 29 |
3. Install dependencies |
| 30 |
|
| 31 |
bundle install |
| 32 |
|
| 33 |
4. Load default data |
| 34 |
|
| 35 |
rake bootstrap RAILS_ENV=development |
| 36 |
|
| 37 |
5. Add default subdomain to /etc/hosts, for example: |
| 38 |
|
| 39 |
"0.0.0.0 localhost.lan group1.localhost.lan group2.localhost.lan" |
| 40 |
|
| 41 |
6. Start the server |
| 42 |
|
| 43 |
rails server -e development |
| 44 |
|
| 45 |
7. When running shapado in production, you need to run: |
| 46 |
|
| 47 |
jammit |
| 48 |
|
| 49 |
== Postfix config |
| 50 |
|
| 51 |
add the following text to /etc/aliases |
| 52 |
shapado: "|/usr/local/rvm/bin/rvm 1.9.2 exec PATH/to/shapado/script/handle_email" |
| 53 |
|
| 54 |
in /etc/postfix/main.cf |
| 55 |
default_privs = shapado |
| 56 |
|
| 57 |
then type |
| 58 |
sudo newaliases |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
Follow us on: |
| 63 |
|
| 64 |
* http://twitter.com/shapado |
| 65 |
|
| 66 |
* http://identi.ca/shapado |
| 67 |
|
| 68 |
* http://blog.ricodigo.com/shapado |
| 69 |
|
| 70 |
Talk to us at: |
| 71 |
|
| 72 |
* irc://irc.freenode.org/shapado |
| 73 |
|
| 74 |
* http://shapado.com/chat |
| 75 |
|
| 76 |
* contact \aT/ shapado d0t com |
| 77 |
|
| 78 |
Report bugs at http://shapado.com and use the tags "bug" or "feature-request" |
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
Happy hacking! |