mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Add upgrade guide
This commit is contained in:
parent
f6c450e98a
commit
e81fbee8ae
1 changed files with 25 additions and 0 deletions
25
Upgrade-Invidious.md
Normal file
25
Upgrade-Invidious.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
## Invidious releases are based on tags. You can use them if you want to be sure your instance is stable.
|
||||||
|
|
||||||
|
#### With release tags
|
||||||
|
```bash
|
||||||
|
$ sudo -i -u invidious
|
||||||
|
$ cd invidious
|
||||||
|
$ git pull
|
||||||
|
$ latestVersion=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
|
$ git checkout $latestVersion
|
||||||
|
$ shards
|
||||||
|
$ crystal build src/invidious.cr --release
|
||||||
|
$ exit
|
||||||
|
$ sudo systemctl restart invidious.service
|
||||||
|
```
|
||||||
|
|
||||||
|
#### With master branch
|
||||||
|
```bash
|
||||||
|
$ sudo -i -u invidious
|
||||||
|
$ cd invidious
|
||||||
|
$ git pull
|
||||||
|
$ shards
|
||||||
|
$ crystal build src/invidious.cr --release
|
||||||
|
$ exit
|
||||||
|
$ sudo systemctl restart invidious.service
|
||||||
|
```
|
Loading…
Reference in a new issue