Improvements
This commit is contained in:
parent
642aa23e54
commit
48a64c674c
23
README.md
23
README.md
@ -71,7 +71,24 @@ Run the following script to generate the required files:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🔄 Upgrade Process
|
## 🔄 Upgrade Process
|
||||||
|
|
||||||
|
|
||||||
|
### 🚀 **Automated Upgrade (Recommended)**
|
||||||
|
If you want a **fully automated** upgrade, use the `wp-rocket-launch.sh` script:
|
||||||
|
```bash
|
||||||
|
./wp-rocket-launch.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
✅ Automatically cleans up existing containers and volumes
|
||||||
|
✅ Builds the custom WordPress image
|
||||||
|
✅ Deploys the new version with minimal manual intervention
|
||||||
|
✅ Copies new installation files to production
|
||||||
|
|
||||||
|
Alternatively, follow the manual upgrade process below.
|
||||||
|
|
||||||
|
|
||||||
|
### 🚀 **Manual Upgrade (Expert Mode)**
|
||||||
|
|
||||||
### **1️⃣ Stop Containers & Clean Up**
|
### **1️⃣ Stop Containers & Clean Up**
|
||||||
```bash
|
```bash
|
||||||
@ -103,10 +120,6 @@ docker compose -f docker-compose.first.yml down
|
|||||||
|
|
||||||
# Start production environment
|
# Start production environment
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
|
|
||||||
# Or just run
|
|
||||||
./wp-rocket-launch.sh # Also, cleans up existing containers and volumes,
|
|
||||||
# and copies new installation to production.
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user