From fd738e9978e3b10dfd1a3bc06193bf2dc92adca8 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Sun, 20 Jul 2025 20:47:43 +0000 Subject: [PATCH] Another improvement. --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 667ab14..aa92535 100644 --- a/README.md +++ b/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