From e0da93fe4770ca46c267cc7874d1b022aff3bc68 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Tue, 1 Mar 2022 10:07:10 +0000 Subject: [PATCH 1/4] remove vim-nox Co-authored-by: Mateusz Konieczny --- docs/setup-dev-environment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/setup-dev-environment.md b/docs/setup-dev-environment.md index 0b7360e3..1a289b3f 100644 --- a/docs/setup-dev-environment.md +++ b/docs/setup-dev-environment.md @@ -64,7 +64,7 @@ sudo apt-get upgrade -y Now install some essential tools. ```bash -sudo apt-get install -y build-essential git vim-nox wget curl +sudo apt-get install -y build-essential git wget curl ``` ### :red_circle: Installing PostgreSQL From b568af6fdb5c734a2c62bfc6306b4e060c83b2dd Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Tue, 1 Mar 2022 10:14:18 +0000 Subject: [PATCH 2/4] remove sudo Co-authored-by: Mateusz Konieczny --- docs/setup-dev-environment.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/setup-dev-environment.md b/docs/setup-dev-environment.md index 1a289b3f..761f7271 100644 --- a/docs/setup-dev-environment.md +++ b/docs/setup-dev-environment.md @@ -210,14 +210,12 @@ psql -d -c "create extension pg_trgm;" ### :arrow_forward: Configuring Node.js -Now upgrade the npm package manager to the most recent release with global privileges. This needs to be performed as root user, so it is necessary to export the node variables to the root user profile. Don't forget to exit from root at the end. +Now upgrade the npm package manager to the most recent release with global privileges. This needs to be performed as root user, so it is necessary to export the node variables to the root user profile. ```bash -sudo su root export NODEJS_HOME=/usr/local/lib/node/node-v16.13.2/bin/ export PATH=$NODEJS_HOME:$PATH -npm install -g npm@latest -exit +sudo env "PATH=$PATH" npm install -g npm@latest ``` Now install the required Node packages. This needs to done from the `app` directory of your From a9d700cdb7c5be969dedddc38eb5248d2a82863d Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Tue, 1 Mar 2022 10:14:37 +0000 Subject: [PATCH 3/4] Update README.md Co-authored-by: Mateusz Konieczny --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ce87622..8aa600bd 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ for download under a liberal open data license You can try out the Colouring London application by setting up your own development environment, which includes the option to load test data from OpenStreetMaps (OSM). See [docs/setup-dev-environment](docs/setup-dev-environment.md). -_Last updated 24th February 2022_ +_Last updated March 2022_ #### Create a production version of the application: From cd325f602abe9da9ca52aeda9b6be41df38358e9 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Tue, 1 Mar 2022 10:18:29 +0000 Subject: [PATCH 4/4] Update README.md Co-authored-by: Mateusz Konieczny --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8aa600bd..2ecb2ab1 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ _Last updated March 2022_ We also have documentation on setting up a production environment here: [docs/setup-production-environment](docs/setup-production-environment.md). -_Last updated 24th December 2021_ +_Last updated December 2021_ **Note:** There are additional useful documentation within the `/docs` folder.