env-impact-comparison WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Wordpress plugin for environmental impact comparison between selected vehicles.
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/gilyes/env-impact-comparison/releases/download/v1.10/env-impact-comparison.zipEnvironmental Impact Comparison Between Selected Vehicles
WordPress plugin that displays and compares the environmental impact of various electric and gas vehicles based on Alberta Electric System Operator (AESO) data (http://ets.aeso.ca/ets_web/ip/Market/Reports/CSDReportServlet).
Installation
- Download latest release from https://github.com/gilyes/env-impact-comparison/releases
- Upload and activate plugin.
- On the plugin's Settings page upload CSV files containing EV and ICE vehicle data.
- The format of these CSV files is: vehicle_name, consumption (number), picture_url, fuel_type ('G', 'D')
- Do not add header row to CSV.
- Add the shortcode
[env-impact-comparison]to a page.
Development
The functionality is implemented as a React/Redux application:
- The source for this is in the
/appdirectory. - The plugin uses the production build which is generated in
/app/dist.
Building the React app
NOTE: Node.js is required to build the app.
To build for production:
cd app
npm run build
To run in dev mode:
cd app
npm start
Packaging the plugin
./package.sh <version>
Used by
Releases
18 releases. Each count is every asset in that release; expand a row for the breakdown.
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.