Another improvement.

This commit is contained in:
Jonathan Rosenbaum 2025-07-20 20:47:43 +00:00
parent 8a0b42a679
commit fd738e9978

View File

@ -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 WordPresss 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