public
Description: The source code for the Carbon Diet website
Homepage: http://www.carbondiet.org
Clone URL: git://github.com/Floppy/carbon-diet.git
James Smith (author)
Mon Nov 30 14:32:33 -0800 2009
commit  c28c4aa519512dd0386e835cfc21875cbd4a0fa1
tree    4653a238b04ada569e8598df913df8c0972c6dbf
parent  c142d9bf57f173ff834b890e6c4c301996a9b70d
name age message
file .gitignore Mon Nov 30 14:18:30 -0800 2009 add schema to git [James Smith]
file COPYING Wed May 20 14:33:44 -0700 2009 added Affero GPL v2 license [Floppy]
file Capfile Tue Nov 04 14:44:26 -0800 2008 Don't bother with codebase deployment tracking [Floppy]
file README Thu May 21 13:13:52 -0700 2009 Added README file [Floppy]
file Rakefile Wed Jun 18 14:06:14 -0700 2008 initial skim from subversion [James Smith]
directory app/ Mon Nov 30 14:32:33 -0800 2009 make conditions ruby-style [James Smith]
directory components/ Wed Jun 18 14:06:14 -0700 2008 initial skim from subversion [James Smith]
directory config/ Mon Nov 30 14:05:37 -0800 2009 set style in config file, and lose demo style -... [James Smith]
directory db/ Mon Nov 30 14:18:30 -0800 2009 add schema to git [James Smith]
directory lib/ Mon Jul 07 04:21:53 -0700 2008 added rspec [James Smith]
directory public/ Mon Nov 30 14:15:05 -0800 2009 update active_scaffold to work with newer Rails [James Smith]
directory script/ Mon Jul 07 04:21:53 -0700 2008 added rspec [James Smith]
directory spec/ Tue Nov 04 15:02:03 -0800 2008 Add some rspec tests [Floppy]
directory stories/ Mon Jul 07 04:21:53 -0700 2008 added rspec [James Smith]
directory test/ Mon Nov 30 14:32:06 -0800 2009 comments require users [James Smith]
directory vendor/ Mon Nov 30 14:15:46 -0800 2009 Updated active_scaffold to work with latest rails [James Smith]
README
The Carbon Diet
---------------

http://www.carbondiet.org
Copyright (C) 2007-9 James Smith (james@floppy.org.uk)

About
-----

The Carbon Diet is a web application designed to facilitate accurate social
carbon footprinting. The master version of the site is at http://www.carbondiet.org,
but you are free to install your own copies elsewhere, as long as:

1) You leave the "powered by" notice in the footer intact.
2) You leave the existing content in the "help/about" section. You may add your
   own, but please leave the existing stuff intact.
3) You rebrand the site so it does not look the same as http://www.carbondiet.org.

You can change the source code, but you must make the modified source code
available to users of your modified site. See the license section below for
details. If you do change the code, please inform the developers through github
so we can integrate your improvements!

Requirements
------------

Ruby on Rails 2.1.2

Installation
------------

Copy database.example.yml to database.yml, and edit to set the correct details.
Copy hoptoad.example.yml to hoptoad.yml, and add your own Hoptoad API key.
Run rake db:migrate to set up the database
Run script/server and go to http://localhost:3000 for more details.

License
-------

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program (see the COPYING file).  If not, see
<http://www.gnu.org/licenses/>.

Exceptions:

You may not use the look and feel of the http://www.carbondiet.org on your
own installation, including the Carbon Diet logo. You may not call your
installation "The Carbon Diet", you need another name. Derivates are OK though
("Bob's Carbon Diet").

Subcomponents
-------------

Most of the icons used on the site are from the Silk icon set
(http://www.famfamfam.com/lab/icons/silk/)

Most of the larger images are from the Tango project (http://tango.freedesktop.org/).

Flash-based charting functionality is done with amCharts (http://www.amcharts.com/)

See the websites of these projects for license details for the relevant content.