hexabinaer / cmsgarden

Relaunch website cms-garden.org (migrate D7 -> 8)
GNU General Public License v2.0
0 stars 0 forks source link

CMS-Garden Next Generation

Install dependencies

composer install

Filesystem permissions

chmod 777 tmp translations web/sites/default/files

Import initial configuration

drush si minimal
drush config-set "system.site" uuid "65eafff0-3d3e-4881-8e97-ff651670f2bd"
drush cim

Migration

The migration needs access to the legacy database. Add the following to the active settings.php and adjust as needed:

$databases['migrate']['default'] = [
  'database' => 'drupal_7_cmsgarden',
  'username' => 'username',
  'password' => '************',
  'prefix' => '',
  'host' => 'localhost',
  'port' => '',
  'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
  'driver' => 'mysql',
];

To execute the user migration enable the module and execute the migration:

drush en cms_garden_migrate
drush migrate:import cms_garden_migrate_cms
drush migrate:import cms_garden_migrate_tag
drush migrate:import cms_garden_migrate_user