Skip to content

Commit

Permalink
Update setup instructions to match actual servers
Browse files Browse the repository at this point in the history
Both staging and production
  • Loading branch information
matkoniecz committed Dec 25, 2021
1 parent a1ebda8 commit f825b09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/setup-dev-environment.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/setup-production-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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`

Expand Down
4 changes: 2 additions & 2 deletions provision/vm_provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit f825b09

Please sign in to comment.