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
    Go to https://rpm.newrelic.com/ and create an account, then:
30
    cp config/shapado.yml.sample config/newrelic.yml
31
32
    If you don't want to use newrelic, just comment it out in the Gemfile.
33
34
3. Install dependencies
35
36
    bundle install
37
38
4. Load default data
39
40
    rake bootstrap RAILS_ENV=development
41
42
5. Add default subdomain to /etc/hosts, for example:
43
44
    "0.0.0.0 localhost.lan group1.localhost.lan group2.localhost.lan"
45
46
6. Start the server
47
48
    rails server -e development
49
50
7. When running shapado in production, you need to run:
51
52
    jammit
53
54
== Postfix config
55
56
add the following text to /etc/aliases
57
    shapado: "|/usr/local/rvm/bin/rvm 1.9.2 exec PATH/to/shapado/script/handle_email"
58
59
in /etc/postfix/main.cf
60
    default_privs = shapado
61
62
then type
63
    sudo newaliases
64
65
66
67
Follow us on:
68
69
* http://twitter.com/shapado
70
71
* http://identi.ca/shapado
72
73
* http://blog.ricodigo.com/shapado
74
75
Talk to us at:
76
77
* irc://irc.freenode.org/shapado
78
79
* http://shapado.com/chat
80
81
* contact \aT/ shapado d0t com
82
83
Report bugs at http://shapado.com and use the tags "bug" or "feature-request"
84
85
86
87
Happy hacking!