diff --git a/etl/README.md b/etl/README.md index 60ae5bbf..0a5ea250 100644 --- a/etl/README.md +++ b/etl/README.md @@ -25,7 +25,11 @@ The building geometries are sourced from Ordnance Survey (OS) MasterMap (Topogra # :penguin: Making data available to Ubuntu -Before creating or updating a Colouring London database, you'll need to make sure the downloaded OS files are available to the Ubuntu machine where the database is hosted. If you are using Virtualbox, you could host share folder(s) containing the OS files with the VM (e.g. [see these instructions for Mac](https://medium.com/macoclock/share-folder-between-macos-and-ubuntu-4ce84fb5c1ad)). +Before creating or updating a Colouring London database, you'll need to make sure the downloaded OS files are available to the Ubuntu machine where the database is hosted. + +If you are using Virtualbox, you could host share folder(s) containing the OS files with the VM (e.g. [see these instructions for Mac](https://medium.com/macoclock/share-folder-between-macos-and-ubuntu-4ce84fb5c1ad)). + +For a production server hosted on a cloud computing platform (e.g. Azure), you could [use SCP](https://uoa-eresearch.github.io/vmhandbook/doc/copy-file-linux.html). # :new_moon: Creating a Colouring London database from scratch @@ -113,6 +117,8 @@ export PGHOST=localhost export PGDATABASE= ``` +First make sure to run `git pull` to catch any code changes and run any new database migrations from `../migrations` added since the last time the db was updated. + Move into the `etl` directory and set execute permission on all scripts. ```bash @@ -164,3 +170,9 @@ Mark buildings with geometries not present in the update as demolished. ```bash ./mark_demolitions.sh ``` + +#### On a production server + +**TODO:** Update this after PR [#794](https://github.com/colouring-cities/colouring-london/pull/794) + +Run the Colouring London [deployment scripts](https://github.com/colouring-cities/colouring-london-config#deployment). \ No newline at end of file