Fix the update steps (#233)

* Fix the update steps

* Split the docker commands to multiple lines

* Re-add .service
This commit is contained in:
TheFrenchGhosty 2022-04-29 17:12:28 +02:00 committed by GitHub
parent 210dcc7e50
commit d881232d22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
``` ```