1
mirror of https://git.sr.ht/~cadence/tube-docs synced 2025-10-27 11:49:12 +00:00

Add updating documentation (to installing files)

This commit is contained in:
Cadence Ember 2021-02-27 15:18:59 +13:00
parent 11c1392657
commit ff773329d2
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17
2 changed files with 29 additions and 0 deletions

View File

@ -56,6 +56,20 @@ $ cd [installation directory]
$ npm run start $ npm run start
``` ```
### Updating
```
$ cd [installation directory]
$ git pull
$ npm install
```
Then start:
```
npm run start
```
## systemd service ## systemd service
If you want to control the services with systemd, you can use these files. This is optional. If you want to control the services with systemd, you can use these files. This is optional.

View File

@ -59,6 +59,21 @@ $ source newleaf-venv/bin/activate
$ python3 index.py $ 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 ## systemd service
If you want to control the services with systemd, you can use these files. This is optional. If you want to control the services with systemd, you can use these files. This is optional.