Merge branch 'docs-vagrant' of https://github.com/colouring-london/colouring-london into docs-vagrant
This commit is contained in:
commit
6c2cba1f18
@ -30,13 +30,13 @@ 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).
|
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:
|
#### Create a production version of the application:
|
||||||
|
|
||||||
We also have documentation on setting up a production environment here: [docs/setup-production-environment](docs/setup-production-environment.md).
|
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.
|
**Note:** There are additional useful documentation within the `/docs` folder.
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ sudo apt-get upgrade -y
|
|||||||
Now install some essential tools.
|
Now install some essential tools.
|
||||||
|
|
||||||
```bash
|
```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
|
### :red_circle: Installing PostgreSQL
|
||||||
@ -212,14 +212,12 @@ psql -c "create extension pg_trgm;"
|
|||||||
|
|
||||||
### :arrow_forward: Configuring Node.js
|
### :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
|
```bash
|
||||||
sudo su root
|
|
||||||
export NODEJS_HOME=/usr/local/lib/node/node-v16.13.2/bin/
|
export NODEJS_HOME=/usr/local/lib/node/node-v16.13.2/bin/
|
||||||
export PATH=$NODEJS_HOME:$PATH
|
export PATH=$NODEJS_HOME:$PATH
|
||||||
npm install -g npm@latest
|
sudo env "PATH=$PATH" npm install -g npm@latest
|
||||||
exit
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Now install the required Node packages. This needs to done from the `app` directory of your
|
Now install the required Node packages. This needs to done from the `app` directory of your
|
||||||
|
Loading…
Reference in New Issue
Block a user