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:
parent
11c1392657
commit
ff773329d2
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user