Add instructions to run the migration in the readme file.
This commit is contained in:
parent
731d30cd5f
commit
7b1b1422c5
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
@ -25,3 +25,21 @@ ddev start
|
||||||
ddev composer update
|
ddev composer update
|
||||||
ddev . drush -y site:install minimal --existing-config
|
ddev . drush -y site:install minimal --existing-config
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Running the migration.
|
||||||
|
|
||||||
|
Put the D7 files in th following location:
|
||||||
|
```
|
||||||
|
<Project Root>/d7/sites/default/files/
|
||||||
|
```
|
||||||
|
There is a reference to the `sites/default/files` in the database so that structure is mandatory for the migration.
|
||||||
|
The path in the `upgrade_d7_file.yml` migration file is different because this is executed inside the docker container so in the
|
||||||
|
docker container the <Project Root> is: `/var/www/html/` but no need to re-create those folders in the host machine.
|
||||||
|
|
||||||
|
Create a database called `drupal7` with the content of the old site, [check here how to create the database](https://stackoverflow.com/a/49785024/1943924)
|
||||||
|
|
||||||
|
Once the files are in the correct place and the database has been created we can run the following to run all the migrations:
|
||||||
|
|
||||||
|
`ddev exec drush mim --group="migrate_drupal_7_geo"`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue