Another improvement.
This commit is contained in:
parent
8a0b42a679
commit
fd738e9978
19
README.md
19
README.md
@ -39,8 +39,27 @@ Drupal2WP Toolkit provides an extensible command-line and plugin-based bridge be
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
||||
## 🧰 Installation
|
||||
|
||||
### 🔐 Drupal Database Configuration
|
||||
|
||||
Drupal2WP Toolkit connects to your Drupal database using WordPress’s native `wpdb` class, with credentials securely managed via **environment variables**.
|
||||
|
||||
This approach keeps sensitive connection details out of your codebase and allows flexible configuration across environments (local, staging, production).
|
||||
|
||||
#### ✅ Required Environment Variables
|
||||
|
||||
Set the following in your server environment or `.env` file:
|
||||
|
||||
```env
|
||||
DRUPAL_DB_USER=your_drupal_db_username
|
||||
DRUPAL_DB_PASS=your_drupal_db_password
|
||||
DRUPAL_DB_NAME=your_drupal_db_name
|
||||
DRUPAL_DB_HOST=your_drupal_db_host
|
||||
```
|
||||
|
||||
1. Clone the repository into your WordPress plugins directory:
|
||||
|
||||
```bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user