A flask UI for running co2mpas.
-
create a virtual env, eg. in this folder called
.venvwith:pythonX.Y -m venv .venvand 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.txtwith::pip install -r ./requirements.txtassuming 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
co2wuior
python co2wui/app.py