Work around CGI/fCGI bug with Webkit browsers.
[selectricity-live] / README
1 ===============================================
2 === Getting Selectricity ======================
3 ===============================================
4
5 Selectricity is free software and is distributed under the GNU Affero
6 General Public License version 3. You are free to use, modify, and
7 distribute, or rework Selectricity under the terms of that license. Of
8 course, we'd sure like it if you would send fixes back to us and tell us
9 about cool stuff you do with our software!
10
11 The best way to get Selectricity is just to download it from our
12 source repository. You'll need the Git version control system or
13 source control manager to check it. You can get it here:
14
15   http://git-scm.com/
16
17 Once you have it, getting the source code is pretty easy. You just need
18 to check out a branch with a command like this:
19
20   git clone http://projects.mako.cc/source/selectricity/.git
21
22 By default, this will create a working copy with the latest
23 *development* version of our code. If you want the latest production
24 version (i.e., what we're running on the site), you need to switch to
25 the live version of the software which is kept in a branch called
26 "live." Once you cloned the repository above, you can switch into the
27 directory (i.e., run "cd selectricity") and then run the following
28 command:
29
30   git checkout -b live origin/live
31
32
33 ===============================================
34 === Getting Help and Contributing =============
35 ===============================================
36
37 If you have a question, you can always email the core team at:
38
39   team@selectricity.org
40
41 If you want to get involved in development, want to discuss
42 selectricity, or want to participate, please subscribe to our mailing
43 list here:
44
45   http://mailman.mit.edu/mailman/listinfo/selectricity
46
47
48 ===============================================
49 === Dependencies ==============================
50 ===============================================
51
52 To use Selectricity, you'll need to install the following gems in
53 addition to Ruby on Rails (gem:rails), MySQL (gem:mysql), and its
54 dependencies:
55
56  * rmagick
57  * gruff (http://nubyonrails.com/pages/gruff)
58  * sparklines (http://nubyonrails.com/pages/sparklines)
59
60 To use Selectricity in development mode, you'll need to install the
61 following gems:
62
63  * ruby-debug
64
65 Also, you will need install the other applications installed first:
66
67  * imagemagick (http://www.imagemagick.org/)
68
69 On Ubuntu, you can install install the dependencies with: 
70   apt-get install imagemagick libmagick9-dev ruby1.8-dev libwmf-bin rdoc \
71   libopenssl-ruby1.8 libreadline-ruby1.8 libmysqlclient15-dev
72
73 Our server configuration uses Mongrel (installed from gems) behind an
74 Apache2 load balancing proxy using mod_proxy.
75
76 You'll also need to have a MTA installed. We use Postfix and have not
77 tried it with any other system. Presumably though, anything that
78 provides '/usr/bin/sendmail' should work.
79
80
81 ===============================================
82 === Contributors to Selectricity Include ======
83 ===============================================
84
85  * Benjamin Mako Hill <mako@atdot.cc>
86  * John Dong          <jdong@ubuntu.com>
87  * Justin Sharps      <jlsharps@alum.mit.edu>
88
89

Benjamin Mako Hill || Want to submit a patch?