pz-max / spatial-sector-dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spatial-sector-dashboard

A shiny dashboard demo for pypsa-eur results.

Deploy locally

To deploy locally, and avoid any cartopy conflicts, download the environment.yaml file from pypsa-eur and install the environment with the name dashboard. This can take few minutes.

wget https://github.com/PyPSA/pypsa-eur/blob/83a01ad4f5afe3e02890374272b7c9b9f55b139a/envs/environment.yaml
conda env create -n dashboard --file environment.yaml

Afterwards, activate the conda environment and install the requirement.txt.

conda activate dashboard
pip install -r requirements.txt

Deploy now the streamlit application locally:

streamlit run streamlit_app.py

About


Languages

Language:Python 100.0%