diff --git a/docs/setup-dev-environment.md b/docs/setup-dev-environment.md index 35dd27dc..d64cb27d 100644 --- a/docs/setup-dev-environment.md +++ b/docs/setup-dev-environment.md @@ -1,7 +1,7 @@ # Setting up a local development environment This document is intended to guide you through setting up a local development environment for -Colouring London. This guide assumes you already have Ubuntu 18.04 server installed, typically +Colouring London. This guide assumes you already have Ubuntu 20.04 server installed, typically installed in a virtual environment such a Virtual Box and are able to SSH into your Ubuntu installation for convenience. @@ -24,7 +24,7 @@ Now install python and related tools. Next install postgres and postgis to enable support for geographical objects. -`sudo apt-get install -y postgresql postgresql-contrib libpq-dev postgis postgresql-10-postgis-2.4` +`sudo apt-get install -y postgresql postgresql-contrib libpq-dev postgis postgresql-12-postgis-3` and additional geo-spatial tools diff --git a/docs/setup-production-environment.md b/docs/setup-production-environment.md index d80be978..62c0cb03 100644 --- a/docs/setup-production-environment.md +++ b/docs/setup-production-environment.md @@ -3,7 +3,7 @@ #### Preliminaries -This guide assumes a virtual environment (VM) running Ubuntu 18_04. +This guide assumes a virtual environment (VM) running Ubuntu 20_04. Install updates to packages: @@ -28,7 +28,7 @@ Install some useful development tools Install Postgres and associated tools -`sudo apt-get install -y postgresql postgresql-contrib libpq-dev postgis postgresql-10-postgis-2.4` +`sudo apt-get install -y postgresql postgresql-contrib libpq-dev postgis postgresql-12-postgis-3` `sudo apt-get install -y gdal-bin libspatialindex-dev libgeos-dev libproj-dev` diff --git a/provision/vm_provision.sh b/provision/vm_provision.sh index 1d51cab6..88f08d70 100644 --- a/provision/vm_provision.sh +++ b/provision/vm_provision.sh @@ -26,12 +26,12 @@ apt-get update # Install: # - basics: build-essential git vim-nox # - python with pip and venv: python3 python3-pip python3-dev -# - postgres and postgis: postgresql postgresql-contrib libpq-dev postgis postgresql-10-postgis-2.4 +# - postgres and postgis: postgresql postgresql-contrib libpq-dev postgis postgresql-12-postgis-3 # - spatial shared libs: gdal-bin libspatialindex-dev libgeos-dev libproj-dev apt-get install -y \ build-essential git vim-nox wget curl \ python3 python3-pip python3-dev python3-venv \ - postgresql postgresql-contrib libpq-dev postgis postgresql-10-postgis-2.4 \ + postgresql postgresql-contrib libpq-dev postgis postgresql-12-postgis-3 \ gdal-bin libspatialindex-dev libgeos-dev libproj-dev