All Projects → wunderio → migrate_source_example

wunderio / migrate_source_example

Licence: other
Example module for Drupal 8 that provides migrations of users, terms, files and nodes from database, JSON resources, CSV and XML files. #migrate

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to migrate source example

drupal-circleci-behat
Test and deploy Drupal 9 with CircleCI 2.0 and Behat 3
Stars: ✭ 17 (-56.41%)
Mutual labels:  drupal, drupal-8
gatsby-drupal-kit
A Gatsby V2 starter kit designed to work with a new Drupal 8 site.
Stars: ✭ 23 (-41.03%)
Mutual labels:  drupal, drupal-8
DrupalDriver
A collection of drivers for controlling Drupal.
Stars: ✭ 64 (+64.1%)
Mutual labels:  drupal, drupal-8
fractal-twig-drupal-adapter
Twig template adapter for Fractal with Drupal 8 directives.
Stars: ✭ 13 (-66.67%)
Mutual labels:  drupal, drupal-8
drupal8-composer-template
Project template for Drupal 8 projects with composer | Quick installation via "composer create-project woprrr/drupal8-composer-template:8.3.0"
Stars: ✭ 27 (-30.77%)
Mutual labels:  drupal, drupal-8
drupal-jsonapi-params
A package to manage json-api params
Stars: ✭ 42 (+7.69%)
Mutual labels:  drupal, drupal-8
drupal-composer-init
Initialise a Drupal composer setup
Stars: ✭ 43 (+10.26%)
Mutual labels:  drupal, drupal-8
varbase
Built using Drupal 8/9, an enterprise website builder platform that combines powerful editorial features, mobile, lead-generation, SEO, social media integration, and beautiful bespoke designs. Varbase is packed with adaptive functionalities and essential modules.
Stars: ✭ 75 (+92.31%)
Mutual labels:  drupal, drupal-8
drupal-react-image-gallery
Drupal 8 module that provides a dynamic Image Gallery based on the react-image-gallery component.
Stars: ✭ 13 (-66.67%)
Mutual labels:  drupal, drupal-8
apigee-devportal-kickstart-drupal
A fast demo and starting point for Apigee Developer Portals for Drupal
Stars: ✭ 21 (-46.15%)
Mutual labels:  drupal, drupal-8
drupal8-oop
Tutorial for object-oriented programming fundamentals in PHP
Stars: ✭ 37 (-5.13%)
Mutual labels:  drupal, drupal-8
distros.bid
A saas to create drupal websites in seconds using docker containers.
Stars: ✭ 16 (-58.97%)
Mutual labels:  drupal, drupal-8
dkan2
Deprecated: please use the 2.x branch of the dkan repo
Stars: ✭ 17 (-56.41%)
Mutual labels:  drupal, drupal-8
apigee-api-catalog-drupal
Manage your API catalog within Drupal's content management approach
Stars: ✭ 17 (-56.41%)
Mutual labels:  drupal, drupal-8
docker-drupal
Docker scaffolding for Drupal 8
Stars: ✭ 41 (+5.13%)
Mutual labels:  drupal, drupal-8
composer-tutorial
A walk through of various Composer tasks
Stars: ✭ 40 (+2.56%)
Mutual labels:  drupal, drupal-8
drupal8-employee-crud-module
No description or website provided.
Stars: ✭ 16 (-58.97%)
Mutual labels:  drupal, drupal-8
drupal8-vagrant
Simple Drupal 8 Development Environment
Stars: ✭ 59 (+51.28%)
Mutual labels:  drupal, drupal-8
DrupalTwigFood
Useful functions, filters for twig @ Drupal 8
Stars: ✭ 1 (-97.44%)
Mutual labels:  drupal, drupal-8
shila-drupal-theme
Atomic design and Pattern Lab friendly, component-based, fairly unopinionated starting point for new Drupal themes
Stars: ✭ 81 (+107.69%)
Mutual labels:  drupal, drupal-8

Migrate source example

migrate_source_example is a module that contains a set of sub-modules that provide content migrations from different sources.

Currently the project features migrations from following sources:

  1. External (non-Drupal) database tables.
  2. CSV files;
  3. XML files;
  4. JSON resources.

Installation

  1. Install Drupal 8 compatible drush.
  2. Install Drupal 8 using Standard profile.
  3. Download migrate_tools contrib module into modules/contrib/migrate_tools (see instructions).
  4. Download migrate_plus contrib module into modules/contrib/migrate_plus (see instructions).
  5. Enable migrate_source_example module (drush en migrate_source_example).

Installation of DB migration example module

  1. Enable migrate_source_example_db module (drush en migrate_source_example_db).

Installation of CSV migration example module

  1. Download migrate_source_csv contrib module into modules/contrib/migrate_source_csv (see instructions).
  2. Enable migrate_source_example_csv module (drush en migrate_source_example_csv).

Installation of XML migration example module

  1. Enable migrate_source_example_xml module (drush en migrate_source_example_xml).

Installation of JSON migration example module

  1. Enable migrate_source_example_json module (drush en migrate_source_example_json).

Usage

  1. Run drush ms to see all migrations.
  2. Run drush mi --group=[GROUP] to import content from specific example group.

Special usage of JSON migration example

JSON migration source plugin requires an absolute URL of a JSON resource to be set in migration .yml file due to an assumption that JSON resources are remote. It means that for JSON migration to work, a base url of the site needs to be provided to migration system.

Run drush mi --group=migrate_source_example_json --uri=[BASE_URL], where [BASE_URL] is an absolute path to your site.

Data source

Example content is synced with a Google Spreadsheet.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].