nismod / infra-risk-vis

Risk analysis visualisation tool
https://global.infrastructureresilience.org
MIT License
12 stars 1 forks source link

Reproducible development environment #44

Closed tomalrussell closed 2 years ago

tomalrussell commented 2 years ago

Consider dependencies and requirements for the various services:

Separately, snakemake workflow processes tiffs for terracotta and vector data into database then into vector tiles. Current way to run snakemake is to change to backend directory, run pipenv shell to pick up dependencies and database connection environment variables, then change over to etl and run snakemake commands.

Goal: improve ease and reproducibility of initial setup and everyday spinning up for development. See initial sketch with docker-compose for backend API and database. Current state is to open four terminals/tmux screens and run:

thomas-fred commented 2 years ago

There's a stab at this in: feature/containerise, but it's not finished. It still needs the certificates serving appropriately, and some general testing.

tomalrussell commented 2 years ago

Will be closed by feature/containerise-global which builds on feature/containerise