Migration from Drupal 6/Drupal 7 to Drupal 8 - Basic Setup
In the past year, we have been actively contributing to the Drupal 8 core. We have also accomplished the migration of several enterprise class websites from Drupal 6 to Drupal 8.
We took away huge learnings from the process and challenges. In this blog, we would like to share a starter that will be helpful to anyone working on such migrations. We will cover the basic setup for a Drupal 6 to Drupal 8 migration:
Step 1
Install Drupal 8 with composer:
- Drupal 8 architecture has completely changed. Composer needs PHP 5.3.2+ to run (but you should run PHP 7 if possible.
- Firstly install composer on your server or local machine. To install composer please follow steps given below.
https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx - Once composer is installed you need to create a project:
The following blogs are available on drupal.org for drupal 8 installation with composer.
Also great documentation given in read.txt file:
https://github.com/drupal-composer/drupal-project/blob/8.x/README.md
Step 2
Step up of Drupal 6:
We don't need to do the step-up of drupal 6 . We may require it to do when we will migrate files. All what we need right now is drupal 6 DB installed on localhost or your mySQL.
Step 3
Install the below listed modules in your Drupal 8 site
Core:
- Migrate
- Migrate Drupal
Contributed:
Step 4
Verify the migration :
This will give the Migration Status - in the screenshot below
You will now have created the basic Drupal 8 setup that is ready for the next step.
Go to admin/structure/migrate
You will see the default migration group listed.
This completes the basic Drupal 8 migration setup.