Skip to content

WebApp to calculate work related CO2e emissions from heating and electricity consumption as well as business trips and commuting.

License

Notifications You must be signed in to change notification settings

pledge4future/WePledge

Repository files navigation

Pledge4Future App

Pledge4Future is a project to help you and your working group to measure and reduce your work-related CO2e emissions.

The pledge4future app allows you to calculate your work related CO2e emissions from heating and electricity consumptions as well as business trips and commuting. The methodology for the calculation of the emissions is implemented in the co2calculator package.

Check out the demo emission dashboard!

Installation

This is a dockerized app which uses React in the frontend and Python, Django and GraphQL in the backend.

1. Clone repository

git clone 
cd WePledge

2. Load the submodules

git submodule update --init --recursive

3. Run docker

docker compose up

This will start the following services on your computer:

Frontend: http://localhost:3000
Backend: http://localhost:8000
Django Admin: http://localhost:8000/admin
GraphQL API: http://localhost:8000/graphql

Refer to the wiki for detailed instructions on how to run, adapt and debug the app.

Contribution guidelines

We're always happy about new people contributing to our project!

  • If you encounter problems with the app, feel free to create an issue in this repository.
  • If you can fix it yourself, please create a new branch from 'dev', add your changes and once you're done create a pull request.
  • If you would like to become a regular contributor to the project, please contact us at info@pledge4future.org.

License

This project is licensed under the GPL-3.0 License.

Acknowledgments

We are supported by