mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Fix the update steps (#233)
* Fix the update steps * Split the docker commands to multiple lines * Re-add .service
This commit is contained in:
parent
210dcc7e50
commit
d881232d22
1 changed files with 6 additions and 2 deletions
|
@ -218,14 +218,18 @@ If you use a reverse proxy, you **must** configure invidious to properly serve r
|
||||||
|
|
||||||
#### Updating a Docker install
|
#### Updating a Docker install
|
||||||
```bash
|
```bash
|
||||||
docker-compose pull && docker-compose up && docker image prune -f
|
docker-compose pull
|
||||||
|
docker-compose up -d
|
||||||
|
docker image prune -f
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Update a manual install
|
#### Update a manual install
|
||||||
```bash
|
```bash
|
||||||
sudo - invidious
|
sudo - invidious
|
||||||
cd invidious
|
cd invidious
|
||||||
shards update && shards install && crystal build src/invidious.cr --release
|
git pull
|
||||||
|
shards install --production
|
||||||
|
crystal build src/invidious.cr --release
|
||||||
exit
|
exit
|
||||||
systemctl restart invidious.service
|
systemctl restart invidious.service
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue