docs(): update upgrade file
parent
7014db8f56
commit
0f58190d42
34
UPGRADE.md
34
UPGRADE.md
|
@ -71,37 +71,3 @@ docker exec -ti flarum php /flarum/app/flarum cache:clear
|
||||||
```
|
```
|
||||||
|
|
||||||
After that your upgrade is finish. :tada: :tada:
|
After that your upgrade is finish. :tada: :tada:
|
||||||
|
|
||||||
### Upgrade to v0.1.0-beta.12 from v0.1.0-beta.11.1
|
|
||||||
|
|
||||||
:warning: Backup your database, config.php, composer.lock and assets folder
|
|
||||||
:warning: Disable all 3rd party extensions prior to upgrading in panel admin.
|
|
||||||
|
|
||||||
1 - Update your docker-compose file, see an example [here](https://github.com/mondediefr/docker-flarum/tree/master#2---docker-composeyml)
|
|
||||||
|
|
||||||
```yml
|
|
||||||
version: "3"
|
|
||||||
|
|
||||||
services:
|
|
||||||
flarum:
|
|
||||||
image: mondedie/flarum:stable-v0.1.0-beta.12
|
|
||||||
...
|
|
||||||
```
|
|
||||||
|
|
||||||
2 - Pull the last docker images
|
|
||||||
|
|
||||||
```sh
|
|
||||||
docker pull mondedie/flarum:stable-v0.1.0-beta.12
|
|
||||||
docker-compose stop flarum
|
|
||||||
docker-compose rm flarum
|
|
||||||
docker-compose up -d flarum
|
|
||||||
```
|
|
||||||
|
|
||||||
3 - Updating your database and removing old assets
|
|
||||||
|
|
||||||
```sh
|
|
||||||
docker exec -ti flarum php /flarum/app/flarum migrate
|
|
||||||
docker exec -ti flarum php /flarum/app/flarum cache:clear
|
|
||||||
```
|
|
||||||
|
|
||||||
After that your upgrade is finish. :tada: :tada:
|
|
||||||
|
|
Loading…
Reference in New Issue