Update setup instructions to match actual servers
Both staging and production
This commit is contained in:
parent
a1ebda8273
commit
f825b090ec
@ -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
|
||||
|
||||
|
@ -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`
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user