Files
Docker-Chevereto/docs/UPDATING.md

39 lines
1.0 KiB
Markdown
Raw Normal View History

2021-06-27 13:14:27 -04:00
# Updating
2022-04-03 11:05:36 -04:00
## Repository update
2022-04-02 19:59:46 -03:00
2022-04-03 11:05:36 -04:00
### Manual updating
2021-08-03 12:41:26 -04:00
2022-04-03 11:05:36 -04:00
Pull this updated repo changes in your fork.
### GitHub one-click updating
2021-06-27 13:14:27 -04:00
1. Go to **Actions**
2021-08-03 12:33:53 -04:00
2. Select **Update** under **Workflows**
2021-06-27 13:14:27 -04:00
3. Click on **Run Workflow** and confirm
![Update template](src/update.png)
🤖 When done **a bot will create a pull request** in your repo so you can review and confirm the changes.
2021-08-21 11:49:01 -04:00
![Update merge](src/update-merge.png)
2022-04-02 19:59:46 -03:00
2022-04-03 11:05:36 -04:00
## Chevereto update
To update Chevereto make sure to update this repository, then follow these steps:
1. Re-build the images (see [BUILDING](BUILDING.md))
2. Down containers (see [DOCKER-COMPOSE](DOCKER-COMPOSE.md#down))
3. [Flush application volume](#flush-application-volume)
4. [Re-up containers](DOCKER-COMPOSE.md#up-daemonized)
### Flush application volume
2022-04-02 19:59:46 -03:00
2022-10-07 13:40:09 -03:00
Run the following command to wipe the application volume. This only affects the application layer.
2022-04-02 19:59:46 -03:00
```sh
2022-04-04 10:14:14 -04:00
make chevereto-volume-rm <options>
2022-04-02 19:59:46 -03:00
```
Once removed, on new container `up` the application volume will be re-created with the updated Chevereto files.