M docs/Installing CloudTube.md => docs/Installing CloudTube.md +14 -0
@@ 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.
M docs/Installing NewLeaf.md => docs/Installing NewLeaf.md +15 -0
@@ 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.