Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

ansarbek/flight_calc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple flight emission calculator that uses AMEE

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 76.7%
  • Ruby 14.0%
  • CSS 5.2%
  • HTML 3.5%
  • ApacheConf 0.6%