Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

Commit 0f077a3

Browse files
committed
updated readme and config file
1 parent a892427 commit 0f077a3

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22
.idea/
33
./idea/*
44
data/*
5-
module/*
65
Query/*
76
query/*
8-
data - Copy/
9-
data - Copy/*
107
node_modules/
118
node_modules/*
129
libs/utils/logs/

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,17 @@ Before exporting the data, you need to add the following configuration settings
2424
"host":"<<mysql host>>",
2525
"user":"<<mysql username>>",
2626
"password":"<<mysql password>>",
27-
"database":"<<mysql database of drupal>>
27+
"database":"<<mysql database of drupal>>,
28+
"data":"<<folder path for data to be exported>>"
2829
```
2930
3031
3132
## Assets & Images
3233
33-
Your files and assets need to be available and accessible through the internet. For this purpose, you must define thedrupal_base_url, public and private file path in the config file so that the exporter will be able to create them.
34+
Your files and assets need to be available and accessible through the internet. For this purpose, you must define the drupal_base_url, public and private file path in the config file so that the exporter will be able to create them.
3435
3536
```bash
36-
drupal_base_url: http://example_hostname.com
37+
base_url: http://example_hostname.com
3738
public_path: <<public file path>>
3839
private_path: <<private file path>>
3940
```

config/index.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"data": "./data",
32
"entryfolder":"entries",
43
"modules": {
54
"locales": {
@@ -51,14 +50,15 @@
5150
},
5251
"base_locale":{"name": "English US", "code":"en-us"},
5352
"mysql":{
54-
"host":"localhost",
55-
"user":"root",
56-
"password":"",
57-
"database":"drupal-demo"
53+
"host":"<<mysql host>>",
54+
"user":"<<mysql username>>",
55+
"password":"<<mysql password>>",
56+
"database":"<<mysql database of drupal>>"
5857
},
59-
"base_url":"http://localhost/drupal",
60-
"public_path":"/sites/default/files/",
61-
"private_path":"/sites/default/private/files/",
58+
"data": "<<folder path for data to be exported>>",
59+
"base_url":"<<base url>>",
60+
"public_path":"<<public file path>>",
61+
"private_path":"<<private file path>>",
6262
"mysql-query":{
6363
"locale":"SELECT languages.language,languages.name FROM `languages`",
6464
"taxonomy_term_data":"SELECT a.name, b.name AS title,b.description,b.tid,b.vid,c.parent FROM taxonomy_vocabulary a, taxonomy_term_data b,taxonomy_term_hierarchy c WHERE b.tid = c.tid AND a.vid=b.vid",

0 commit comments

Comments
 (0)