mirror of
https://github.com/iv-org/documentation.git
synced 2024-12-22 22:09:22 -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
|
#### 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 New Issue
Block a user