From 72eb553ede66436cb5a48ff11f3dc46d1c25aa0a Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Sat, 12 Dec 2020 13:46:04 +0100 Subject: [PATCH] chore: note in Readme on how to update --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 9cb4d63..e70351c 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,19 @@ To stop the database when you're done developing, run (potentially with sudo): npm run mongo:stop +## Updating + +If you run this through cloning the git and setting it up as a systemctl +service, you can follow this procedure to update the application: + +```bash +sudo systemctl stop obsApp.service +git pull +npm install +npm run migrate:up +sudo systemctl start obsApp.service +``` + ## Docker setup If you have docker and don't want to bother installing Node.js on your machine,