mirror of
https://github.com/iv-org/documentation.git
synced 2024-12-22 14:05:09 -05: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
@ -218,14 +218,18 @@ If you use a reverse proxy, you **must** configure invidious to properly serve r
|
||||
|
||||
#### Updating a Docker install
|
||||
```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
|
||||
```bash
|
||||
sudo - 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
|
||||
systemctl restart invidious.service
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user