Files
Lentolaskuri/README.md

1.6 KiB

Lentolaskuri

Flight CO2 emission calculator.

Uses Grunt: The JavaScript Task Runner.

Installation

Prerequisites

  • Webserver that runs PHP to poll the airport data
  • MySQL server to hold the data
  • npm, bower and grunt to fetch dependencies and to build the project

Lentolaskuri has been tested and build using tested on MAMP and LAMP stack.

Dependencies

See bower.json and package.json for complete list of packages.

To install required packages run in the project folder in your terminal of choise:

npm install && bower install

Building the project

grunt server   # Start development server
grunt          # Build minified and optimized version for release to /dist -folder

Credits

Airport data comes from OpenFlights.org (airports.dat, AGPL)