From ff773329d278012f08383cc8736a4f02a204c826 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Sat, 27 Feb 2021 15:18:59 +1300 Subject: [PATCH] Add updating documentation (to installing files) --- docs/Installing CloudTube.md | 14 ++++++++++++++ docs/Installing NewLeaf.md | 15 +++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/docs/Installing CloudTube.md b/docs/Installing CloudTube.md index e084e38..4315055 100644 --- a/docs/Installing CloudTube.md +++ b/docs/Installing CloudTube.md @@ -56,6 +56,20 @@ $ cd [installation directory] $ npm run start ``` +### Updating + +``` +$ cd [installation directory] +$ git pull +$ npm install +``` + +Then start: + +``` +npm run start +``` + ## systemd service If you want to control the services with systemd, you can use these files. This is optional. diff --git a/docs/Installing NewLeaf.md b/docs/Installing NewLeaf.md index 3ab509d..f86bf10 100644 --- a/docs/Installing NewLeaf.md +++ b/docs/Installing NewLeaf.md @@ -59,6 +59,21 @@ $ source newleaf-venv/bin/activate $ python3 index.py ``` +## Updating + +``` +$ cd [installation directory] +$ source newleaf-venv/bin/activate +$ git pull +$ pip3 install -r requirements.txt +``` + +Then start: + +``` +$ python3 index.py +``` + ## systemd service If you want to control the services with systemd, you can use these files. This is optional.