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

JRCSTU/co2wui

Repository files navigation

Co2mpas Web UI

A flask UI for running co2mpas.

Development instructions

  1. create a virtual env, eg. in this folder called .venv with:

    pythonX.Y -m venv .venv
    

    and activate it afterwards,

  2. clone the following repositories:

  3. Install the above packages in development mode:

    pip install -e <some-folder>
    

    for each of the packages

  4. (optional) Install all pinned versions in requirements.txt with::

    pip install -r ./requirements.txt
    

    assuming you want to reproduce the exact environment, OR just...

  5. install this project in develop mode along with all its development-dependencies with:

    pip install .[dev]
    
  6. enable pre-commit hooks for black-formatting python code with::

    pre-commit install
    

Launch WebUI

co2wui

or

python co2wui/app.py