Coder Social home page Coder Social logo

migration_boilerplate's Introduction

Drupal 8 Migration Boilerplate

Use this module and the directions below as a starting point to easily get your Drupal 6/7 sites into Drupal 8.

SETUP

  1. Setup both your Drupal 7 and Drupal 8 sites in Lando. Configure the Drupal 8 site to install Drush 9.
  2. Copy the .lando.yml file in this repo to your Drupal 8 site root (change the app name)
  3. Export your Drupal 7 DB with lando db-export dump.sql.gz
  4. Copy the settings.local.php file in this repo to your Drupal 8 sites/default folder.
  5. Import the Drupal 7 DB into the Drupal 8 Site with lando db-import --host=d7db --user=drupal7db dump.sql.gz
  6. Run this in your Drupal 8 project root:
lando composer require 'drupal/migrate_plus:^4.2'
lando composer require 'drupal/migrate_tools:^4.5'
lando composer require 'drupal/migrate_upgrade:~3.0.0'
  1. Enable this module.
  2. Run the following commands in your D8 site:
lando drush migrate-upgrade --legacy-db-key=migrate --configure-only
lando drush config-export --destination=/tmp/migrate
lando ssh -s appserver -u root
cp /tmp/migrate/migrate_plus.* /app/path/to/migration_boilerplate/unused_config
chown -R www-data:www-data /app/path/to/migration_boilerplate/unused_config
exit
lando drush cim -y
  1. Run lando drush ms to make sure the configs made it over.

migration_boilerplate's People

Contributors

uberhacker avatar rjbain avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.