A flask UI for running co2mpas.
-
create a virtual env, eg. in this folder called
.venv
with:pythonX.Y -m venv .venv
and activate it afterwards,
-
clone the following repositories:
- git clone https://github.com/vinci1it2000/co2mpas.git (branch dev)
- git clone https://github.com/vinci1it2000/syncing.git
- git clone https://github.com/JRCSTU/DICE.git
-
Install the above packages in development mode:
pip install -e <some-folder>
for each of the packages
-
(optional) Install all pinned versions in
requirements.txt
with::pip install -r ./requirements.txt
assuming you want to reproduce the exact environment, OR just...
-
install this project in develop mode along with all its development-dependencies with:
pip install .[dev]
-
enable pre-commit hooks for black-formatting python code with::
pre-commit install
co2wui
or
python co2wui/app.py