From 82e9a45a4c3ea839c5151df1df04470c5ea0f9c9 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 21 Feb 2022 15:41:52 +0000 Subject: [PATCH] reformat instructions --- docs/setup-dev-environment.md | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/docs/setup-dev-environment.md b/docs/setup-dev-environment.md index ae42b945..f854c6fe 100644 --- a/docs/setup-dev-environment.md +++ b/docs/setup-dev-environment.md @@ -289,10 +289,9 @@ First open `colouring-london/etl/load_geometries.sh` and `colouring-london/etl/c -d -U -h localhost ``` -Then run: +Download the test data. ```bash -# download test data python get_test_polygons.py ``` @@ -302,14 +301,27 @@ rm: cannot remove 'test_buildings.geojson': No such file or directory rm: cannot remove 'test_buildings.3857.csv': No such file or directory ``` +Load all building outlines. + ```bash -# load all building outlines ./load_geometries.sh ./ -# index geometries (should be faster after loading) +``` + +Index geometries (should be faster after loading). + +```bash psql -U -h localhost -d < ../migrations/002.index-geometries.up.sql -# create a building record per outline +``` + +Create a building record per outline. + +```bash ./create_building_records.sh -# index building records +``` + +Index building records. + +```bash psql -U -h localhost -d < ../migrations/003.index-buildings.up.sql ```