github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

Floppy / carbon-diet

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 5
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (63)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

The source code for the Carbon Diet website — Read more

  cancel

http://www.carbondiet.org

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

remove for loops 
James Smith (author)
Tue Feb 09 15:23:50 -0800 2010
commit  680ea7be4c0a23e73f6cea90b8cef6dcabc25c8e
tree    9fbde6a31ee2910b0a8d99107a075d118e7c213a
parent  333b87e6d5c548621e7caac749eb65cd91c3cdf9
carbon-diet /
name age
history
message
file .gitignore Fri Feb 05 05:33:20 -0800 2010 ignore coverage [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/ Tue Feb 09 15:23:50 -0800 2010 remove for loops [James Smith]
directory config/ Loading commit data...
directory db/ Mon Nov 30 14:18:30 -0800 2009 add schema to git [James Smith]
directory lib/ Mon Feb 08 15:37:11 -0800 2010 remove xml_chart controller, and split it's con... [James Smith]
directory public/ Sat Jan 16 08:43:00 -0800 2010 Add help page for iphone [James Smith]
directory script/ Thu Feb 04 18:06:18 -0800 2010 add autospec script from rspec [James Smith]
directory spec/ Fri Feb 05 06:03:40 -0800 2010 Change algorithm for vehicle emissions to use t... [James Smith]
directory test/
directory vendor/ Thu Feb 04 18:30:42 -0800 2010 replace classic pagination with will_paginate [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.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server