From f5b2968a350ddbc72b7d3db3c8730dfe9f0f9345 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Tue, 1 Mar 2022 10:04:13 +0000 Subject: [PATCH] simplify --- docs/setup-dev-environment.md | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/docs/setup-dev-environment.md b/docs/setup-dev-environment.md index c351c515..0b7360e3 100644 --- a/docs/setup-dev-environment.md +++ b/docs/setup-dev-environment.md @@ -202,22 +202,12 @@ Create a colouring london database if none exists. The name (` ``` -Run `psql` interactively. - ```bash -psql +psql -d -c "create extension postgis;" +psql -d -c "create extension pgcrypto;" +psql -d -c "create extension pg_trgm;" ``` -In `psql`, necessary postgres extensions. - -```bash -create extension postgis; -create extension pgcrypto; -create extension pg_trgm; -``` - -Then quit `psql` by typing `\q` and hitting return. - ### :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.