Merge pull request #705 from colouring-london/feature/update-docs
Update setup instructions to match staging and production server
This commit is contained in:
commit
21e03bc1ca
@ -1,7 +1,7 @@
|
|||||||
# Setting up a local development environment
|
# Setting up a local development environment
|
||||||
|
|
||||||
This document is intended to guide you through setting up a local development environment for
|
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
|
installed in a virtual environment such a Virtual Box and are able to SSH into your Ubuntu
|
||||||
installation for convenience.
|
installation for convenience.
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Now install python and related tools.
|
|||||||
|
|
||||||
Next install postgres and postgis to enable support for geographical objects.
|
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
|
and additional geo-spatial tools
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#### Preliminaries
|
#### 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:
|
Install updates to packages:
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ Install some useful development tools
|
|||||||
|
|
||||||
Install Postgres and associated 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`
|
`sudo apt-get install -y gdal-bin libspatialindex-dev libgeos-dev libproj-dev`
|
||||||
|
|
||||||
|
@ -26,12 +26,12 @@ apt-get update
|
|||||||
# Install:
|
# Install:
|
||||||
# - basics: build-essential git vim-nox
|
# - basics: build-essential git vim-nox
|
||||||
# - python with pip and venv: python3 python3-pip python3-dev
|
# - 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
|
# - spatial shared libs: gdal-bin libspatialindex-dev libgeos-dev libproj-dev
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
build-essential git vim-nox wget curl \
|
build-essential git vim-nox wget curl \
|
||||||
python3 python3-pip python3-dev python3-venv \
|
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
|
gdal-bin libspatialindex-dev libgeos-dev libproj-dev
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user