add emojified contents

This commit is contained in:
Ed Chalstrey 2022-02-24 10:22:25 +00:00
parent ccc810a9fa
commit 32579692f4

View File

@ -42,11 +42,16 @@ ssh <linuxusername>@localhost -p 4022
## Contents ## Contents
- [Set up]() - [:tulip: Installing the tools and components]()
- [Loading data]() - :red_circle: Installing PostgreSQL
- [Running the application]() - :rainbow: Installing Colouring London
- :arrow_down: Installing Node.js
- :large_blue_circle: Configuring PostgreSQL
- :arrow_forward: Configuring Node.js
- [:house: Loading the building data]()
- [:computer: Running the application]()
## Installing the tools and components ## :tulip: Installing the tools and components
First upgrade the installed packages to the latest versions, to remove any security warnings. First upgrade the installed packages to the latest versions, to remove any security warnings.
@ -61,6 +66,8 @@ Now we install some essential tools.
sudo apt-get install -y build-essential git vim-nox wget curl sudo apt-get install -y build-essential git vim-nox wget curl
``` ```
### :red_circle: Installing PostgreSQL
Set the postgres repo for apt. Set the postgres repo for apt.
```bash ```bash
@ -84,12 +91,16 @@ and additional geo-spatial tools
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
``` ```
Now clone the colouring london codebase. ### :rainbow: Installing Colouring London
Now clone the `colouring-london` codebase.
```bash ```bash
git clone https://github.com/colouring-london/colouring-london.git git clone https://github.com/colouring-london/colouring-london.git
``` ```
### :arrow_down: Installing Node.js
Now install Node. It is helpful to define some local variables. Now install Node. It is helpful to define some local variables.
```bash ```bash
@ -124,7 +135,7 @@ echo $PATH
echo $NODEJS_HOME echo $NODEJS_HOME
``` ```
## Configuring Postgres ### :large_blue_circle: Configuring PostgreSQL
Now we configure postgres. First ensure postgres is running. Now we configure postgres. First ensure postgres is running.
@ -203,11 +214,9 @@ create extension pg_trgm;
Then quit `psql` by typing `\q` and hitting return. Then quit `psql` by typing `\q` and hitting return.
## Setting up Node ### :arrow_forward: Configuring Node.js
Now upgrade the npm package manager to the most recent release with global privileges. This 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.
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.
```bash ```bash
sudo su root sudo su root
@ -225,7 +234,7 @@ cd ./colouring-london/app
npm install npm install
``` ```
## Loading the data ## :house: Loading the building data
<details> <details>
<summary> With a database dump </summary> <summary> With a database dump </summary>
@ -341,7 +350,7 @@ Create a building record per outline.
``` ```
</details> </details>
## Running the application ## :computer: Running the application
Now we are ready to run the application. Now we are ready to run the application.