public
Description: The source code for the Carbon Diet website
Homepage: http://www.carbondiet.org
Clone URL: git://github.com/Floppy/carbon-diet.git
name age message
file .gitignore Thu May 21 12:31:17 -0700 2009 Move hoptoad configuration into a separate conf... [Floppy]
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 Jun 01 11:24:52 -0700 2009 Fix bugs with image base directory. Replaced wi... [Floppy]
directory components/ Wed Jun 18 14:06:14 -0700 2008 initial skim from subversion [James Smith]
directory config/ Mon Jun 01 11:24:52 -0700 2009 Fix bugs with image base directory. Replaced wi... [Floppy]
directory db/ Mon Jan 12 14:39:57 -0800 2009 added ability to explicitly set g_per_kWh for e... [Floppy]
directory lib/ Mon Jul 07 04:21:53 -0700 2008 added rspec [James Smith]
directory public/ Thu May 21 13:20:08 -0700 2009 Add code icon [Floppy]
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 Jul 07 04:58:59 -0700 2008 removed old test::unit files which have been re... [James Smith]
directory vendor/ Sat May 02 02:27:04 -0700 2009 update hoptoad notifier for deploy tracking and... [Floppy]
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.