Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple flight emission calculator that uses AMEE
JavaScript Ruby
branch: stable

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
lib
log
public
script
test
vendor
.gitignore
.gitmodules
COPYING
README
Rakefile

README

AMEE Flight Calculator
======================

This is an example Rails application that uses AMEE to calculates emissions from
air travel.

You can create your own copy of this application at http://my.amee.com/templates/1-flight-calculator,
or you can use this codebase to run your own copy on your own servers. You may also
use it as a base from which to develop your own AMEE applications.

License
-------

MIT (see the COPYING file)

Setup
-----

Download the app, and customise config/amee.example.yml and config/database.example.yml
with your own settings. Then run:

  rake gems:install
  rake db:schema:load

to set up the app. Then, you should build the local airport cache by running:

  rake amee:import_airports

Your app is then ready to use by running script/server.

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

Rails 2.3.4
Rails-compatible database server (MySQL, PostgreSQL, SQLite, etc)
memcache
gems:
  amee ~> 2.0.35
  haml
  uuidtools
  hoptoad_notifier
Something went wrong with that request. Please try again.