From 2a286d3fc6bbc19b77e16a88822af127cd2e3c37 Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Tue, 7 Dec 2021 17:16:38 +0100 Subject: [PATCH] chore(docs): add contributor tools update instructions (#44393) --- docs/devops.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/devops.md b/docs/devops.md index 5d87a329fe..68dca48f68 100644 --- a/docs/devops.md +++ b/docs/devops.md @@ -815,6 +815,20 @@ deployed on each instance like so: Select yes (y) to remove everything that is not in use. This will remove all stopped containers, all networks and volumes not used by at least one container, and all dangling images and build caches. +## Work on Contributor Tools + +### Deploy updates + +ssh into the VM (hosted on Digital Ocean). + +```console +cd tools +git pull origin master +npm ci +npm run build +pm2 restart contribute-app +``` + ## Updating Node.js versions on VMs List currently installed node & npm versions