diff --git a/etl/README.md b/etl/README.md index 37db7f61..6bfdb016 100644 --- a/etl/README.md +++ b/etl/README.md @@ -128,6 +128,7 @@ export PGDATABASE= Extract the new MasterMap data (this step could take a while). ```bash +cd ~/colouring-london sudo ./extract_mastermap.sh /path/to/mastermap_dir ``` @@ -142,3 +143,28 @@ Load all new building outlines. This step will only add geometries that are not ```bash ./load_geometries.sh /path/to/mastermap_dir ``` + +Create a virtual environment for python in the `etl` folder of your repository. In the following example we have name the virtual environment *colouringlondon* but it can have any name. + +```bash +pyvenv colouringlondon +``` + +Activate the virtual environment so we can install python packages into it. + +```bash +source colouringlondon/bin/activate +``` + +Install python pip package manager and related tools. + +```bash +pip install --upgrade pip +pip install --upgrade setuptools wheel +``` + +Install the required python packages. + +```bash +pip install -r requirements.txt +``` diff --git a/etl/requirements.txt b/etl/requirements.txt index 2623c138..fd1fbde9 100644 --- a/etl/requirements.txt +++ b/etl/requirements.txt @@ -5,4 +5,4 @@ psycopg2==2.7.5 shapely==1.7 retrying==1.3.3 requests==2.23.0 -convertbng==0.6.37 +convertbng==0.6.25 \ No newline at end of file