nyuhsl/migrate_nyu_hsl_drf_data
Composer 安装命令:
composer require nyuhsl/migrate_nyu_hsl_drf_data
包简介
Custom module for migrating NYU HSL Data Repository Finder data.
README 文档
README
This is a drupal 8 custom module for importing (via drupal migration) NYU HSL Data Storage Finder site data into any CD-Finder installation.
Getting Started
Prerequisites
You will need the following things properly installed on your server.
- drupal 8
- Cornell's CD-Finder module
Installation
-
Install via composer
composer require nyuhsl/migrate_nyu_hsl_drf_dataOR clone this repository into your Drupal 8 site's custom module directory (e.g. /var/www/html/drupal8/modules/custom) -
Enable the module via drush
drush en -y migrate_nyu_hsl_drf_dataOR via drupal's admin UI at /admin/modules -
Run the migrations all at once via drush
drush mim --group=nyu_hsl_drf_data_migrations --execute-dependenciesOR via admin UI at /admin/config/services/migrate_nyu_hsl_drf_data/migrate in the following order:- nyu_hsl_drf_taxonomy_control_types
- nyu_hsl_drf_taxonomy_facets
- nyu_hsl_drf_service_paragraphs
- nyu_hsl_drf_service_contents
-
Disable the following default fields provided by the CD-Finder module from /admin/structure/paragraphs_type/service_paragraphs/form-display
- "First Category"
- "Second Category"
Next, enable the rest of the fields provided by this module in the following order (shown in the image below) & hit "Save":
- "Alternate Repository Name"
- "Repository URL"
- "Keywords"
- "Funder(s)"
- "Description"
- "Data Submission Attributes"
- "Data Access Attributes"
- "Data Submission Policy"
- "Data Access Policy"
-
Repeat Step 4 from /admin/structure/paragraphs_type/service_paragraphs/display (shown in the image below) & hit "Save":
- "First Category"
- "Second Category"
Next, enable the rest of the fields provided by this module in the following order (shown in the image below) & hit "Save":
- "Alternate Repository Name"
- "Repository URL"
- "Keywords"
- "Funder(s)"
- "Description"
- "Data Submission Attributes"
- "Data Access Attributes"
- "Data Submission Policy"
- "Data Access Policy"
-
Visit "/finder" of your site url.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2023-02-17

