wget https://ftp.drupal.org/files/projects/drupal-9.0.2.zip && unzip drupal-9.0.2.zip OR wget https://ftp.drupal.org/files/projects/drupal-9.0.2.tar.gz && tar -xzf drupal-9.0.2.tar.gz
mv drupal-9.0.2 no-composer && cd no-composer
php core/scripts/drupal quick-start standard --site-name "UnderstandDrupal.com/migrations" --suppress-login
php core/scripts/drupal server --suppress-login
mkdir -p modules/contrib && cd modules/contrib && wget https://ftp.drupal.org/files/projects/olivero-8.x-1.0-alpha3.tar.gz && tar -xzf olivero-8.x-1.0-alpha3.tar.gz && rm olivero-8.x-1.0-alpha3.tar.gz && cd ../..
chmod 755 sites/default && sudo rm sites/default/settings.php && sudo rm -rf sites/default/files
php core/scripts/drupal quick-start demo_umami --site-name "UnderstandDrupal.com/migrations" --suppress-login
https://github.com/dinarcon/drupal_migrations_basic/blob/main/DEVELOPMENT.md
composer create-project drupal/recommended-project:^9.0.0 with-composer
cd with-composer
composer require 'drush/drush' 'drupal/olivero:^1.0' 'drupal/migrate_plus:^5.1' 'drupal/migrate_tools:^5.0' 'drupal/migrate_source_csv:^3.4' 'drupal/entity_reference_revisions:^1.8' 'drupal/paragraphs:^1.12' 'drupal/address:^1.8'
mkdir -p web/modules/custom && cd web/modules/custom && wget https://github.com/dinarcon/drupal_migrations_basic/archive/main.zip && unzip -q main.zip && rm main.zip && mv drupal_migrations_basic-main ud_staff && cd ../../..
php web/core/scripts/drupal quick-start standard --site-name "UnderstandDrupal.com/migrations" --suppress-login
./vendor/bin/drush pm-enable -y migrate_plus migrate_tools migrate_source_csv entity_reference_revisions paragraphs address ud_staff
./vendor/bin/drush migrate:import --tag='UD Migrations Basic Example'
./vendor/bin/drush migrate:rollback --tag='UD Migrations Basic Example'
./vendor/bin/drush sql:connect --database=default ./vendor/bin/drush sql:cli
.help .tables .tables paragraph%
select * from paragraph__field_ud_book_title;
.headers ON .mode column
select * from paragraph__field_ud_book_title; select bundle, entity_id, revision_id, delta, field_ud_book_title_value from paragraph__field_ud_book_title;
select bundle, entity_id, revision_id, delta, field_ud_book_author_value from paragraph__field_ud_book_author;
.schema paragraph__field_ud_book_title .exit