Archipelago
Enable Modules and libraries required
$ vendor/bin/drush en ... Successfully enabled: taxonomy Successfully enabled: media, image Successfully enabled: menu_ui, menu_link_content, link Successfully enabled: field_ui Successfully enabled: aggregator Successfully enabled: block_content, comment, contact, shortcut, tour Successfully enabled: field_layout Successfully enabled: media_library Successfully enabled: responsive_image Successfully enabled: content_moderation, workflows Successfully enabled: webform_scheduled_email Successfully enabled: basic_auth Successfully enabled: rdf Successfully enabled: ckeditor Successfully enabled: content_translation Successfully enabled: facets_range_widget, facets_rest, tracker Successfully enabled: ctools_views Successfully enabled: bamboo_twig, bamboo_twig_config, bamboo_twig_file, bamboo_twig_loader, bamboo_twig_path, bamboo_twig_security, bamboo_twig_token Successfully enabled: jquery_ui_datepicker, jquery_ui
Browse UI at admin/config/services/jsonapi and enable JSONAPI Accept all JSON:API create, read, update, and delete operations.
Downloading JQUERY Slider Pips Library for facets
$ mkdir -p /var/www/html/web/libraries/jquery-ui-slider-pips/dist $ curl -o /var/www/html/web/libraries/jquery-ui-slider-pips/dist/jquery-ui-slider-pips.min.js 'https://raw.githubusercontent.com/simeydotme/jQuery-ui-Slider-Pips/v1.11.3/dist/jquery-ui-slider-pips.min.js' $ curl -o /var/www/html/web/libraries/jquery-ui-slider-pips/dist/jquery-ui-slider-pips.min.css 'https://raw.githubusercontent.com/simeydotme/jQuery-ui-Slider-Pips/v1.11.3/dist/jquery-ui-slider-pips.min.css'
Archipelago modules
Install from giancarlobi GitHUB so edit composer.json
}, "repositories": [ { "type": "package", "package": { "name": "drupal/form_mode_manager", "type": "drupal-module", "version": "dev-8.x-2.x", "source": { "type": "git", "url": "https://git.drupalcode.org/project/form_mode_manager.git", "reference": "bb634122" } } }, { "type": "composer", "url": "https://packages.drupal.org/8" }, { "type": "vcs", "url": "https://github.com/giancarlobi/strawberryfield" }, { "type": "vcs", "url": "https://github.com/giancarlobi/format_strawberryfield" }, { "type": "vcs", "url": "https://github.com/giancarlobi/webform_strawberryfield" }, { "type": "vcs", "url": "https://github.com/giancarlobi/ami" }, { "type": "vcs", "url": "https://github.com/giancarlobi/strawberry_runners" } ], "require": {
NOTE: AMI composer.json changed to → “drupal/google_api_client”: “3.0.0-rc5”
$ composer require 'strawberryfield/strawberryfield:dev-1.0.0-RC2' 'strawberryfield/format_strawberryfield:dev-1.0.0-RC2' 'strawberryfield/webform_strawberryfield:dev-1.0.0-RC2' 'strawberryfield/strawberry_runners:0.1.0.x-dev' 'archipelago/ami:0.1.0.x-dev' - Installing justinrainbow/json-schema (5.2.10): Extracting archive - Installing nesbot/carbon (2.46.0): Extracting archive - Installing jmikola/geojson (1.0.2): Extracting archive - Installing frictionlessdata/tableschema (v0.2.0): Extracting archive - Installing frictionlessdata/datapackage (dev-master d9e007d): Cloning d9e007dd98 from cache - Installing strawberryfield/strawberryfield (dev-1.0.0-RC2 caf0380): Cloning caf0380cc0 from cache - Installing strawberryfield/format_strawberryfield (dev-1.0.0-RC2 6a607cd): Cloning 6a607cdb99 from cache - Installing strawberryfield/webform_strawberryfield (dev-1.0.0-RC2 1c1c601): Cloning 1c1c601b68 from cache - Installing psr/simple-cache (1.0.1): Extracting archive - Installing markbaker/matrix (2.1.2): Extracting archive - Installing markbaker/complex (2.0.0): Extracting archive - Installing ezyang/htmlpurifier (v4.13.0): Extracting archive - Installing phpoffice/phpspreadsheet (1.17.1): Extracting archive - Installing archipelago/ami (0.1.0.x-dev 17345fa): Cloning 17345fa01b from cache - Installing web64/php-nlp-client (v0.40.5): Extracting archive - Installing strawberryfield/strawberry_runners (0.1.0.x-dev 4275b87): Cloning 4275b8757b from cache $ vendor/bin/drush en strawberryfield Successfully enabled: strawberryfield $ vendor/bin/drush en format_strawberryfield Successfully enabled: format_strawberryfield $ vendor/bin/drush en webform_strawberryfield Successfully enabled: webform_strawberryfield $ vendor/bin/drush en strawberry_runners Successfully enabled: strawberry_runners $ vendor/bin/drush en ami Successfully enabled: ami $ vendor/bin/drush updatedb $ vendor/bin/drush cr
Configuration sync
Make a conf backup
$ vendor/bin/drush config:export --destination=~/bckconfig
Make site admin member of administrator group
$ vendor/bin/drush urol administrator "MysiteAdministrator"
Then sync configurations
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/node.type.page.yml ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+----------------+-----------+ | Collection | Config | Operation | +------------+----------------+-----------+ | | node.type.page | Create | +------------+----------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/node.type.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------------------+-----------+ | | node.type.article | Create | | | node.type.digital_object | Create | | | node.type.digital_object_collection | Create | | | node.type.webform | Create | | | node.type.webform | Delete | +------------+-------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/media.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------+-----------+ | | media.type.audio | Create | | | media.type.file | Create | | | media.type.image | Create | | | media.type.remote_video | Create | | | media.type.video | Create | | | media.settings | Update | +------------+-------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/ds.field.field_descriptive_metadata_image.yml ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------------------------+-----------+ | | ds.field.field_descriptive_metadata_image | Create | +------------+-------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/ds.field.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-----------------------------+-----------+ | Collection | Config | Operation | +------------+-----------------------------+-----------+ | | ds.field.formatted_metadata | Create | | | ds.field.raw_metadata | Create | | | ds.field.static_media | Create | +------------+-----------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/core.entity_view_mode.node.collection_listing.yml ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-----------------------------------------------+-----------+ | Collection | Config | Operation | +------------+-----------------------------------------------+-----------+ | | core.entity_view_mode.node.collection_listing | Create | +------------+-----------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/core.entity_view_mode.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+------------------------------------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+------------------------------------------------------------------------------------+-----------+ | | core.entity_view_mode.aggregator_feed.summary | Create | | | core.entity_view_mode.aggregator_feed.token | Create | | | core.entity_view_mode.aggregator_item.summary | Create | | | core.entity_view_mode.aggregator_item.token | Create | | | core.entity_view_mode.block.token | Create | | | core.entity_view_mode.block_content.full | Create | | | core.entity_view_mode.block_content.token | Create | | | core.entity_view_mode.comment.full | Create | | | core.entity_view_mode.comment.token | Create | | | core.entity_view_mode.contact_message.token | Create | | | core.entity_view_mode.file.token | Create | | | core.entity_view_mode.media.full | Create | | | core.entity_view_mode.media.media_library | Create | | | core.entity_view_mode.menu_link_content.token | Create | | | core.entity_view_mode.node.strawberryfield_processed_metadata | Create | | | core.entity_view_mode.node.digital_object_with_video_player | Create | | | core.entity_view_mode.node.digital_object_with_replay_web_webarchive_with_navbars_ | Create | | | core.entity_view_mode.node.digital_object_with_pdf | Create | | | core.entity_view_mode.node.digital_object_with_pannellum_panorama | Create | | | core.entity_view_mode.node.digital_object_with_mirador_viewer | Create | | | core.entity_view_mode.node.digital_object_with_book_reader | Create | | | core.entity_view_mode.node.digital_object_with_a_v_player | Create | | | core.entity_view_mode.node.digital_object_with_3d_viewer | Create | | | core.entity_view_mode.node.digital_object_viewmode_fullitem | Create | | | core.entity_view_mode.node.digital_object_oral_history_with_multiple_media | Create | | | core.entity_view_mode.node.digital_object_image_only_for_carousel | Create | | | core.entity_view_mode.node.token | Create | | | core.entity_view_mode.node.teaser | Create | | | core.entity_view_mode.node.search_result | Create | | | core.entity_view_mode.node.search_index | Create | | | core.entity_view_mode.node.rss | Create | | | core.entity_view_mode.node.revision | Create | | | core.entity_view_mode.node.full | Create | | | core.entity_view_mode.search_api_task.token | Create | | | core.entity_view_mode.shortcut.token | Create | | | core.entity_view_mode.taxonomy_term.token | Create | | | core.entity_view_mode.taxonomy_term.full | Create | | | core.entity_view_mode.tour.token | Create | | | core.entity_view_mode.user.token | Create | | | core.entity_view_mode.user.full | Create | | | core.entity_view_mode.user.compact | Create | | | core.entity_view_mode.user.compact | Delete | | | core.entity_view_mode.user.full | Delete | | | core.entity_view_mode.user.token | Delete | | | core.entity_view_mode.taxonomy_term.full | Delete | | | core.entity_view_mode.search_api_task.token | Delete | | | core.entity_view_mode.node.full | Delete | | | core.entity_view_mode.node.revision | Delete | | | core.entity_view_mode.node.rss | Delete | | | core.entity_view_mode.node.search_index | Delete | | | core.entity_view_mode.node.search_result | Delete | | | core.entity_view_mode.node.teaser | Delete | | | core.entity_view_mode.node.token | Delete | | | core.entity_view_mode.media.full | Delete | | | core.entity_view_mode.file.token | Delete | | | core.entity_view_mode.block.token | Delete | | | core.entity_view_mode.aggregator_item.summary | Delete | | | core.entity_view_mode.aggregator_feed.summary | Delete | +------------+------------------------------------------------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/block_content.type.b* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+------------------------------------------------+-----------+ | | block_content.type.basic | Create | | | block_content.type.block_with_twig_templating_ | Create | +------------+------------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/language.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+---------------------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+---------------------------------------------------------------------+-----------+ | | language.content_settings.block_content.block_with_twig_templating_ | Create | | | language.entity.und | Create | | | language.entity.zxx | Create | | | language.content_settings.node.digital_object | Create | | | language.content_settings.node.digital_object_collection | Create | | | language.content_settings.taxonomy_term.strawberryfield_voc_id | Create | | | language.negotiation | Update | | | language.entity.zxx | Delete | | | language.entity.und | Delete | +------------+---------------------------------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/core.entity_form_mode.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------------------------------+-----------+ | | core.entity_form_mode.media.media_library | Create | | | core.entity_form_mode.node.super_admin_raw_json | Create | | | core.entity_form_mode.user.register | Create | | | core.entity_form_mode.user.register | Delete | | | core.entity_form_mode.media.media_library | Delete | +------------+-------------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/comment.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+----------------------+-----------+ | Collection | Config | Operation | +------------+----------------------+-----------+ | | comment.type.comment | Create | | | comment.settings | Update | +------------+----------------------+-----------+ $ mv ~/uploadconfig/comment.* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/field.storage.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+--------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+--------------------------------------------------+-----------+ | | field.storage.media.field_media_video_file | Create | | | field.storage.media.field_media_oembed_video | Create | | | field.storage.media.field_media_image | Create | | | field.storage.media.field_media_file | Create | | | field.storage.media.field_media_audio_file | Create | | | field.storage.node.field_image | Create | | | field.storage.node.comment | Create | | | field.storage.node.field_descriptive_metadata | Create | | | field.storage.taxonomy_term.field_vocab_jsonpath | Create | | | field.storage.node.field_tags | Create | | | field.storage.node.body | Create | | | field.storage.comment.comment_body | Create | | | field.storage.block_content.body | Create | | | field.storage.block_content.field_twig_content | Create | | | field.storage.user.user_picture | Create | | | field.storage.node.field_webform2 | Create | | | field.storage.node.webform | Create | | | field.storage.block_content.body | Delete | | | field.storage.comment.comment_body | Delete | | | field.storage.node.body | Delete | +------------+--------------------------------------------------+-----------+ $ mv ~/uploadconfig/field.storage.* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/taxonomy.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+--------------------------------------------+-----------+ | Collection | Config | Operation | +------------+--------------------------------------------+-----------+ | | taxonomy.vocabulary.strawberryfield_voc_id | Create | | | taxonomy.vocabulary.tags | Create | | | taxonomy.vocabulary.strawberryfield_voc_id | Delete | +------------+--------------------------------------------+-----------+ $ mv ~/uploadconfig/taxonomy.* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/field.field.* ~/uploadconfig_field_field/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig_field_field +------------+--------------------------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+--------------------------------------------------------------------------+-----------+ | | field.field.media.audio.field_media_audio_file | Create | | | field.field.media.file.field_media_file | Create | | | field.field.media.image.field_media_image | Create | | | field.field.media.remote_video.field_media_oembed_video | Create | | | field.field.media.video.field_media_video_file | Create | | | field.field.node.article.field_image | Create | | | field.field.node.article.comment | Create | | | field.field.node.digital_object_collection.field_descriptive_metadata | Create | | | field.field.node.digital_object.field_descriptive_metadata | Create | | | field.field.taxonomy_term.strawberryfield_voc_id.field_vocab_jsonpath | Create | | | field.field.node.article.field_tags | Create | | | field.field.node.page.body | Create | | | field.field.node.digital_object_collection.body | Create | | | field.field.node.digital_object.body | Create | | | field.field.node.article.body | Create | | | field.field.comment.comment.comment_body | Create | | | field.field.block_content.block_with_twig_templating_.body | Create | | | field.field.block_content.basic.body | Create | | | field.field.block_content.block_with_twig_templating_.field_twig_content | Create | | | field.field.user.user.user_picture | Create | | | field.field.node.webform.field_webform2 | Create | | | field.field.node.webform.body | Create | | | field.field.node.webform.webform | Create | +------------+--------------------------------------------------------------------------+-----------+ $ mv ~/uploadconfig_field_field/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/responsive_image.styles.* ~/uploadconfig/ $ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/image.style.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+--------------------------------+-----------+ | Collection | Config | Operation | +------------+--------------------------------+-----------+ | | image.style.large | Create | | | image.style.media_library | Create | | | image.style.medium | Create | | | image.style.thumbnail | Create | | | image.style.max_650x650 | Create | | | image.style.max_325x325 | Create | | | image.style.max_2600x2600 | Create | | | image.style.max_1300x1300 | Create | | | responsive_image.styles.narrow | Create | | | responsive_image.styles.wide | Create | | | image.style.media_library | Delete | | | image.style.thumbnail | Delete | | | image.style.medium | Delete | | | image.style.large | Delete | +------------+--------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/core.entity_view_display.* ~/uploadconfig_view_display/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig_view_display +------------+------------------------------------------------------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+------------------------------------------------------------------------------------------------------+-----------+ | | core.entity_view_display.aggregator_item.aggregator_item.summary | Create | | | core.entity_view_display.aggregator_feed.aggregator_feed.summary | Create | | | core.entity_view_display.aggregator_feed.aggregator_feed.default | Create | | | core.entity_view_display.media.audio.default | Create | | | core.entity_view_display.media.file.default | Create | | | core.entity_view_display.media.image.default | Create | | | core.entity_view_display.media.remote_video.default | Create | | | core.entity_view_display.media.video.default | Create | | | core.entity_view_display.media.video.media_library | Create | | | core.entity_view_display.media.remote_video.media_library | Create | | | core.entity_view_display.media.image.media_library | Create | | | core.entity_view_display.media.file.media_library | Create | | | core.entity_view_display.media.audio.media_library | Create | | | core.entity_view_display.metadatadisplay_entity.metadatadisplay_entity.default | Create | | | core.entity_view_display.taxonomy_term.strawberryfield_voc_id.default | Create | | | core.entity_view_display.comment.comment.default | Create | | | core.entity_view_display.block_content.basic.default | Create | | | core.entity_view_display.block_content.block_with_twig_templating_.default | Create | | | core.entity_view_display.node.page.teaser | Create | | | core.entity_view_display.node.page.search_result | Create | | | core.entity_view_display.node.page.search_index | Create | | | core.entity_view_display.node.page.default | Create | | | core.entity_view_display.node.digital_object_collection.teaser | Create | | | core.entity_view_display.node.digital_object_collection.strawberryfield_processed_metadata | Create | | | core.entity_view_display.node.digital_object_collection.full | Create | | | core.entity_view_display.node.digital_object_collection.default | Create | | | core.entity_view_display.node.digital_object_collection.collection_listing | Create | | | core.entity_view_display.node.digital_object.teaser | Create | | | core.entity_view_display.node.digital_object.strawberryfield_processed_metadata | Create | | | core.entity_view_display.node.digital_object.full | Create | | | core.entity_view_display.node.digital_object.digital_object_with_video_player | Create | | | core.entity_view_display.node.digital_object.digital_object_with_replay_web_webarchive_with_navbars_ | Create | | | core.entity_view_display.node.digital_object.digital_object_with_pdf | Create | | | core.entity_view_display.node.digital_object.digital_object_with_pannellum_panorama | Create | | | core.entity_view_display.node.digital_object.digital_object_with_mirador_viewer | Create | | | core.entity_view_display.node.digital_object.digital_object_with_book_reader | Create | | | core.entity_view_display.node.digital_object.digital_object_with_a_v_player | Create | | | core.entity_view_display.node.digital_object.digital_object_with_3d_viewer | Create | | | core.entity_view_display.node.digital_object.digital_object_viewmode_fullitem | Create | | | core.entity_view_display.node.digital_object.digital_object_oral_history_with_multiple_media | Create | | | core.entity_view_display.node.digital_object.digital_object_image_only_for_carousel | Create | | | core.entity_view_display.node.digital_object.default | Create | | | core.entity_view_display.node.digital_object.collection_listing | Create | | | core.entity_view_display.node.article.teaser | Create | | | core.entity_view_display.node.article.search_result | Create | | | core.entity_view_display.node.article.search_index | Create | | | core.entity_view_display.node.article.rss | Create | | | core.entity_view_display.node.article.default | Create | | | core.entity_view_display.user.user.default | Create | | | core.entity_view_display.user.user.compact | Create | | | core.entity_view_display.node.webform.teaser | Create | | | core.entity_view_display.node.webform.default | Create | | | core.entity_view_display.aggregator_item.aggregator_item.summary | Delete | | | core.entity_view_display.aggregator_feed.aggregator_feed.summary | Delete | | | core.entity_view_display.aggregator_feed.aggregator_feed.default | Delete | +------------+------------------------------------------------------------------------------------------------------+-----------+ $ mv ~/uploadconfig_view_display/core.entity_view_display.* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/core.base_field_override.node.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-----------------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+-----------------------------------------------------------------+-----------+ | | core.base_field_override.node.digital_object.title | Create | | | core.base_field_override.node.digital_object.status | Create | | | core.base_field_override.node.digital_object.promote | Create | | | core.base_field_override.node.digital_object_collection.status | Create | | | core.base_field_override.node.digital_object_collection.promote | Create | | | core.base_field_override.node.page.promote | Create | | | core.base_field_override.node.webform.promote | Create | | | core.base_field_override.node.webform.promote | Delete | +------------+-----------------------------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/workflows.workflow.editorial.yml ~/uploadconfig/ $ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/core.entity_form_display.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+--------------------------------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+--------------------------------------------------------------------------------+-----------+ | | core.entity_form_display.metadatadisplay_entity.metadatadisplay_entity.default | Create | | | core.entity_form_display.media.video.media_library | Create | | | core.entity_form_display.media.remote_video.media_library | Create | | | core.entity_form_display.media.image.media_library | Create | | | core.entity_form_display.media.file.media_library | Create | | | core.entity_form_display.media.audio.media_library | Create | | | core.entity_form_display.media.video.default | Create | | | core.entity_form_display.media.remote_video.default | Create | | | core.entity_form_display.media.image.default | Create | | | core.entity_form_display.media.file.default | Create | | | core.entity_form_display.media.audio.default | Create | | | core.entity_form_display.taxonomy_term.strawberryfield_voc_id.default | Create | | | core.entity_form_display.node.page.default | Create | | | core.entity_form_display.node.article.default | Create | | | core.entity_form_display.comment.comment.default | Create | | | core.entity_form_display.block_content.basic.default | Create | | | core.entity_form_display.block_content.block_with_twig_templating_.default | Create | | | core.entity_form_display.user.user.default | Create | | | core.entity_form_display.node.webform.default | Create | | | workflows.workflow.editorial | Create | | | core.entity_form_display.node.digital_object_collection.default | Create | | | core.entity_form_display.node.digital_object.super_admin_raw_json | Create | | | core.entity_form_display.node.digital_object.default | Create | +------------+--------------------------------------------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/strawberryfield.strawberry_keynameprovider.* ~/uploadconfig_sbf_key/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig_sbf_key +------------+----------------------------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+----------------------------------------------------------------------------+-----------+ | | strawberryfield.strawberry_keynameprovider.digital_object_type | Create | | | strawberryfield.strawberry_keynameprovider.exif_mimetype | Create | | | strawberryfield.strawberry_keynameprovider.focal_length_exif | Create | | | strawberryfield.strawberry_keynameprovider.hocr_service | Create | | | strawberryfield.strawberry_keynameprovider.image_uuid | Create | | | strawberryfield.strawberry_keynameprovider.sbf_entity_reference_ismemberof | Create | | | strawberryfield.strawberry_keynameprovider.schema_org | Create | | | strawberryfield.strawberry_keynameprovider.subject_labels | Create | +------------+----------------------------------------------------------------------------+-----------+ $ mv ~/uploadconfig_sbf_key/* ~/uploaded/
$ cp ~/bckconfig/search_api.index.drupal_content_to_solr_8.yml ~/uploadconfig_solr_index/ [Merge Archipelago deployment config with current index] $ nano -w ~/uploadconfig_solr_index/search_api.index.drupal_content_to_solr_8.yml $ vendor/bin/drush config:import --partial --source=~/uploadconfig_solr_index +------------+-------------------------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------------------------+-----------+ | | search_api.index.drupal_content_to_solr_8 | Update | +------------+-------------------------------------------+-----------+ $ mv ~/uploadconfig_solr_index/search_api.index.drupal_content_to_solr_8.yml ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/user.role.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------+-----------+ | | user.role.administrator | Create | | | user.role.anonymous | Create | | | user.role.authenticated | Create | | | user.role.metadata_api | Create | | | user.role.metadata_pro | Create | | | user.role.authenticated | Delete | | | user.role.anonymous | Delete | +------------+-------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/views.view.* ~/uploadconfig_views_view/ [Change to current index name] $ sed -i 's/default_solr_index/drupal_content_to_solr_8/g' ~/uploadconfig_views_view/* $ vendor/bin/drush config:import --partial --source=~/uploadconfig_views_view +------------+------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+------------------------------------------------------+-----------+ | | views.view.aggregator_rss_feed | Create | | | views.view.aggregator_sources | Create | | | views.view.archipelago_media_files | Create | | | views.view.archive | Create | | | views.view.block_content | Create | | | views.view.collection_membership | Create | | | views.view.comment | Create | | | views.view.comments_recent | Create | | | views.view.content | Create | | | views.view.content_recent | Create | | | views.view.custom_frontpage | Create | | | views.view.files | Create | | | views.view.frontpage | Create | | | views.view.glossary | Create | | | views.view.ld_display_for_digital_objects_sql | Create | | | views.view.map_display_for_digital_objects_sql | Create | | | views.view.media | Create | | | views.view.media_library | Create | | | views.view.my_content | Create | | | views.view.recent_digital_objects | Create | | | views.view.solr_search_content | Create | | | views.view.taxonomy_term | Create | | | views.view.user_admin_people | Create | | | views.view.watchdog | Create | | | views.view.who_s_new | Create | | | views.view.who_s_online | Create | | | views.view.ado_slideshow | Create | | | views.view.solr_search_content_with_find_and_replace | Create | | | views.view.webform_submissions | Create | | | views.view.ado_selection_by_type | Create | | | views.view.moderated_content | Create | | | views.view.webform_submissions | Delete | | | views.view.who_s_online | Delete | | | views.view.who_s_new | Delete | | | views.view.watchdog | Delete | | | views.view.user_admin_people | Delete | | | views.view.taxonomy_term | Delete | | | views.view.moderated_content | Delete | | | views.view.media_library | Delete | | | views.view.media | Delete | | | views.view.glossary | Delete | | | views.view.frontpage | Delete | | | views.view.files | Delete | | | views.view.content_recent | Delete | | | views.view.content | Delete | | | views.view.comments_recent | Delete | | | views.view.comment | Delete | | | views.view.block_content | Delete | | | views.view.archive | Delete | | | views.view.aggregator_sources | Delete | | | views.view.aggregator_rss_feed | Delete | +------------+------------------------------------------------------+-----------+ $ mv ~/uploadconfig_views_view/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/facets.facet.* ~/uploadconfig/ $ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/search_api_autocomplete.search.solr_search_content.yml ~/uploadconfig/ [Change to current index name] $ sed -i 's/default_solr_index/drupal_content_to_solr_8/g' ~/uploadconfig/* $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-----------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+-----------------------------------------------------------+-----------+ | | search_api_autocomplete.search.solr_search_content | Create | | | facets.facet.is_member_of_content_title | Create | | | facets.facet.descriptive_metadata_subjects | Create | | | facets.facet.descriptive_metadata_source_json_keys | Create | | | facets.facet.descriptive_metadata_object_types | Create | | | facets.facet.descriptive_metadata_agent_labels | Create | | | facets.facet.authored_on | Create | | | facets.facet.strawberry_descriptive_metadata_ado_replace | Create | | | facets.facet.strawberry_descriptive_metadata_ado_jsonkeys | Create | +------------+-----------------------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ cp ~/bckconfig/search_api.server.solr_dbopen.yml ~/uploadconfig/ [Merge Archipelago deployment config with current server] $ nano -w ~/uploadconfig/search_api.server.solr_dbopen.yml $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------------+-----------+ | | search_api.server.solr_dbopen | Update | +------------+-------------------------------+-----------+ $ mv ~/uploadconfig/search_api.server.solr_dbopen.yml ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/search_api_solr.solr_* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------------------------------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------------------------------------------------------------------------+-----------+ | | search_api_solr.solr_cache.cache_document_default_7_0_0 | Create | | | search_api_solr.solr_cache.cache_fieldvalue_default_7_0_0 | Create | | | search_api_solr.solr_cache.cache_filter_default_7_0_0 | Create | | | search_api_solr.solr_cache.cache_persegfilter_default_7_0_0 | Create | | | search_api_solr.solr_cache.cache_queryresult_default_7_0_0 | Create | | | search_api_solr.solr_field_type.text_edge_und_6_0_0 | Create | | | search_api_solr.solr_field_type.text_edge_und_7_0_0 | Create | | | search_api_solr.solr_field_type.text_edgestring_und_6_0_0 | Create | | | search_api_solr.solr_field_type.text_en_6_0_0 | Create | | | search_api_solr.solr_field_type.text_en_7_0_0 | Create | | | search_api_solr.solr_field_type.text_ngram_und_6_0_0 | Create | | | search_api_solr.solr_field_type.text_ngram_und_7_0_0 | Create | | | search_api_solr.solr_field_type.text_ngramstring_und_6_0_0 | Create | | | search_api_solr.solr_field_type.text_phonetic_en_7_0_0 | Create | | | search_api_solr.solr_field_type.text_phonetic_und_7_0_0 | Create | | | search_api_solr.solr_field_type.text_und_6_0_0 | Create | | | search_api_solr.solr_field_type.text_und_7_0_0 | Create | | | search_api_solr.solr_request_dispatcher.request_dispatcher_httpcaching_default_7_0_0 | Create | | | search_api_solr.solr_request_dispatcher.request_dispatcher_httpcachingnever_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_autocomplete_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_elevate_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_extract_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_mlt_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_query_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_replicationmaster_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_replicationslave_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_select_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_spell_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_suggest_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_tvrh_default_7_0_0 | Create | | | search_api_solr.solr_request_handler.request_handler_tvrh_default_7_0_0 | Delete | | | search_api_solr.solr_request_handler.request_handler_suggest_default_7_0_0 | Delete | | | search_api_solr.solr_request_handler.request_handler_spell_default_7_0_0 | Delete | | | search_api_solr.solr_request_handler.request_handler_select_default_7_0_0 | Delete | | | search_api_solr.solr_request_handler.request_handler_replicationslave_default_7_0_0 | Delete | | | search_api_solr.solr_request_handler.request_handler_replicationmaster_default_7_0_0 | Delete | | | search_api_solr.solr_request_handler.request_handler_query_default_7_0_0 | Delete | | | search_api_solr.solr_request_handler.request_handler_mlt_default_7_0_0 | Delete | | | search_api_solr.solr_request_handler.request_handler_extract_default_7_0_0 | Delete | | | search_api_solr.solr_request_handler.request_handler_elevate_default_7_0_0 | Delete | | | search_api_solr.solr_request_handler.request_handler_autocomplete_default_7_0_0 | Delete | | | search_api_solr.solr_request_dispatcher.request_dispatcher_httpcachingnever_default_7_0_0 | Delete | | | search_api_solr.solr_request_dispatcher.request_dispatcher_httpcaching_default_7_0_0 | Delete | | | search_api_solr.solr_field_type.text_und_7_0_0 | Delete | | | search_api_solr.solr_field_type.text_und_6_0_0 | Delete | | | search_api_solr.solr_field_type.text_phonetic_und_7_0_0 | Delete | | | search_api_solr.solr_field_type.text_phonetic_en_7_0_0 | Delete | | | search_api_solr.solr_field_type.text_ngramstring_und_6_0_0 | Delete | | | search_api_solr.solr_field_type.text_ngram_und_7_0_0 | Delete | | | search_api_solr.solr_field_type.text_ngram_und_6_0_0 | Delete | | | search_api_solr.solr_field_type.text_en_7_0_0 | Delete | | | search_api_solr.solr_field_type.text_en_6_0_0 | Delete | | | search_api_solr.solr_field_type.text_edgestring_und_6_0_0 | Delete | | | search_api_solr.solr_field_type.text_edge_und_7_0_0 | Delete | | | search_api_solr.solr_field_type.text_edge_und_6_0_0 | Delete | | | search_api_solr.solr_cache.cache_queryresult_default_7_0_0 | Delete | | | search_api_solr.solr_cache.cache_persegfilter_default_7_0_0 | Delete | | | search_api_solr.solr_cache.cache_filter_default_7_0_0 | Delete | | | search_api_solr.solr_cache.cache_fieldvalue_default_7_0_0 | Delete | | | search_api_solr.solr_cache.cache_document_default_7_0_0 | Delete | +------------+-------------------------------------------------------------------------------------------+-----------+ $ mv ~/uploadconfig/search_api_solr.solr_* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/webform* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+---------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+---------------------------------------------------+-----------+ | | webform.webform_options.country_codes | Create | | | webform.webform_options.country_names | Create | | | webform.webform_options.days | Create | | | webform.webform_options.education | Create | | | webform.webform_options.employment_status | Create | | | webform.webform_options.ethnicity | Create | | | webform.webform_options.gender | Create | | | webform.webform_options.industry | Create | | | webform.webform_options.languages | Create | | | webform.webform_options.likert_agreement | Create | | | webform.webform_options.likert_comparison | Create | | | webform.webform_options.likert_importance | Create | | | webform.webform_options.likert_quality | Create | | | webform.webform_options.likert_satisfaction | Create | | | webform.webform_options.likert_ten_scale | Create | | | webform.webform_options.likert_would_you | Create | | | webform.webform_options.marital_status | Create | | | webform.webform_options.months | Create | | | webform.webform_options.phone_types | Create | | | webform.webform_options.relationship | Create | | | webform.webform_options.schema_org_creative_works | Create | | | webform.webform_options.schema_org_cw_collections | Create | | | webform.webform_options.size | Create | | | webform.webform_options.state_codes | Create | | | webform.webform_options.state_names | Create | | | webform.webform_options.state_province_codes | Create | | | webform.webform_options.state_province_names | Create | | | webform.webform_options.time_zones | Create | | | webform.webform_options.titles | Create | | | webform.webform_options.yes_no | Create | | | webform.webform.digital_object_collection | Create | | | webform.webform.descriptive_metadata | Create | | | webform.webform.template_issue | Create | | | webform.webform.template_feedback | Create | | | webform.webform.template_contact | Create | | | webform_scheduled_email.settings | Create | | | webform.settings | Update | | | webform.webform_options.yes_no | Delete | | | webform.webform_options.titles | Delete | | | webform.webform_options.time_zones | Delete | | | webform.webform_options.state_province_names | Delete | | | webform.webform_options.state_province_codes | Delete | | | webform.webform_options.state_names | Delete | | | webform.webform_options.state_codes | Delete | | | webform.webform_options.size | Delete | | | webform.webform_options.relationship | Delete | | | webform.webform_options.phone_types | Delete | | | webform.webform_options.months | Delete | | | webform.webform_options.marital_status | Delete | | | webform.webform_options.likert_would_you | Delete | | | webform.webform_options.likert_ten_scale | Delete | | | webform.webform_options.likert_satisfaction | Delete | | | webform.webform_options.likert_quality | Delete | | | webform.webform_options.likert_importance | Delete | | | webform.webform_options.likert_comparison | Delete | | | webform.webform_options.likert_agreement | Delete | | | webform.webform_options.languages | Delete | | | webform.webform_options.industry | Delete | | | webform.webform_options.gender | Delete | | | webform.webform_options.ethnicity | Delete | | | webform.webform_options.employment_status | Delete | | | webform.webform_options.education | Delete | | | webform.webform_options.days | Delete | | | webform.webform_options.country_names | Delete | | | webform.webform_options.country_codes | Delete | +------------+---------------------------------------------------+-----------+ $ mv ~/uploadconfig/webform* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/format_strawberryfield.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------------------------------------------+-----------+ | | format_strawberryfield.viewmodemapping_settings | Create | | | format_strawberryfield.metadataexpose_entity.iiifmanifestv2 | Create | | | format_strawberryfield.metadataexpose_entity.iiifmanifest | Create | | | format_strawberryfield.metadataexpose_entity.geojson | Create | | | format_strawberryfield.iiif_settings | Update | +------------+-------------------------------------------------------------+-----------+ $ mv ~/uploadconfig/format_strawberryfield.* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/rest.resource.entity.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+---------------------------------------------+-----------+ | Collection | Config | Operation | +------------+---------------------------------------------+-----------+ | | rest.resource.entity.node | Create | | | rest.resource.entity.metadatadisplay_entity | Create | +------------+---------------------------------------------+-----------+ $ mv ~/uploadconfig/rest.resource.entity.* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/filter.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------------+-----------+ | | filter.format.basic_html | Create | | | filter.format.full_html | Create | | | filter.format.plain_text | Create | | | filter.format.restricted_html | Create | | | filter.format.plain_text | Delete | +------------+-------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/system.action.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+-------------------------------------------------------+-----------+ | | system.action.comment_delete_action | Create | | | system.action.comment_publish_action | Create | | | system.action.comment_save_action | Create | | | system.action.comment_unpublish_action | Create | | | system.action.node_delete_action | Create | | | system.action.node_make_sticky_action | Create | | | system.action.node_make_unsticky_action | Create | | | system.action.node_promote_action | Create | | | system.action.node_publish_action | Create | | | system.action.node_save_action | Create | | | system.action.node_unpromote_action | Create | | | system.action.node_unpublish_action | Create | | | system.action.pathauto_update_alias_node | Create | | | system.action.pathauto_update_alias_user | Create | | | system.action.user_unblock_user_action | Create | | | system.action.user_cancel_user_action | Create | | | system.action.user_block_user_action | Create | | | system.action.user_remove_role_action.administrator | Create | | | system.action.user_add_role_action.administrator | Create | | | system.action.user_remove_role_action.metadata_pro | Create | | | system.action.user_add_role_action.metadata_pro | Create | | | system.action.webform_submission_make_unsticky_action | Create | | | system.action.webform_submission_make_unlock_action | Create | | | system.action.webform_submission_make_sticky_action | Create | | | system.action.webform_submission_make_lock_action | Create | | | system.action.webform_submission_delete_action | Create | | | system.action.webform_submission_delete_action | Delete | | | system.action.webform_submission_make_lock_action | Delete | | | system.action.webform_submission_make_sticky_action | Delete | | | system.action.webform_submission_make_unlock_action | Delete | | | system.action.webform_submission_make_unsticky_action | Delete | | | system.action.pathauto_update_alias_user | Delete | | | system.action.user_block_user_action | Delete | | | system.action.user_cancel_user_action | Delete | | | system.action.user_unblock_user_action | Delete | | | system.action.pathauto_update_alias_node | Delete | | | system.action.node_unpublish_action | Delete | | | system.action.node_unpromote_action | Delete | | | system.action.node_save_action | Delete | | | system.action.node_publish_action | Delete | | | system.action.node_promote_action | Delete | | | system.action.node_make_unsticky_action | Delete | | | system.action.node_make_sticky_action | Delete | | | system.action.node_delete_action | Delete | | | system.action.comment_unpublish_action | Delete | | | system.action.comment_save_action | Delete | | | system.action.comment_publish_action | Delete | | | system.action.comment_delete_action | Delete | +------------+-------------------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/strawberry* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+------------------------------------------------------------------+-----------+ | Collection | Config | Operation | +------------+------------------------------------------------------------------+-----------+ | | strawberryfield.filepersister_service_settings | Create | | | strawberryfield.hydroponics_settings | Create | | | strawberryfield.storage_settings | Create | | | strawberry_runners.strawberry_runners_postprocessor.ocr | Create | | | strawberry_runners.strawberry_runners_postprocessor.pager | Create | | | strawberry_runners.strawberry_runners_postprocessor.warc_to_wacz | Create | +------------+------------------------------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/tour.tour.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+---------------------------------------+-----------+ | Collection | Config | Operation | +------------+---------------------------------------+-----------+ | | tour.tour.language | Create | | | tour.tour.language-add | Create | | | tour.tour.language-edit | Create | | | tour.tour.search-api-index | Create | | | tour.tour.search-api-index-fields | Create | | | tour.tour.search-api-index-form | Create | | | tour.tour.search-api-index-processors | Create | | | tour.tour.search-api-server | Create | | | tour.tour.search-api-server-form | Create | | | tour.tour.views-ui | Create | | | tour.tour.views-ui | Delete | | | tour.tour.search-api-server-form | Delete | | | tour.tour.search-api-server | Delete | | | tour.tour.search-api-index-processors | Delete | | | tour.tour.search-api-index-form | Delete | | | tour.tour.search-api-index-fields | Delete | | | tour.tour.search-api-index | Delete | | | tour.tour.language-edit | Delete | | | tour.tour.language-add | Delete | | | tour.tour.language | Delete | +------------+---------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/rdf.mapping.* ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+--------------------------------------------+-----------+ | Collection | Config | Operation | +------------+--------------------------------------------+-----------+ | | rdf.mapping.comment.comment | Create | | | rdf.mapping.node.article | Create | | | rdf.mapping.node.digital_object | Create | | | rdf.mapping.node.digital_object_collection | Create | | | rdf.mapping.node.page | Create | | | rdf.mapping.taxonomy_term.tags | Create | | | rdf.mapping.user.user | Create | +------------+--------------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/codemirror_editor.settings.yml ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+----------------------------+-----------+ | Collection | Config | Operation | +------------+----------------------------+-----------+ | | codemirror_editor.settings | Update | +------------+----------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
$ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/pathauto.pattern.digital_object_uuid.yml ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+--------------------------------------+-----------+ | Collection | Config | Operation | +------------+--------------------------------------+-----------+ | | pathauto.pattern.digital_object_uuid | Create | +------------+--------------------------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/ $ mv ~/archipelago-deployment-1.0.0-RC2D9/config/sync/pathauto.settings.yml ~/uploadconfig/ $ vendor/bin/drush config:import --partial --source=~/uploadconfig +------------+-------------------+-----------+ | Collection | Config | Operation | +------------+-------------------+-----------+ | | pathauto.settings | Update | +------------+-------------------+-----------+ $ mv ~/uploadconfig/* ~/uploaded/
Metadata Display
Add twig based metadata display.
General HTML Description block $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_01.json
Linked Data Block HTML $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_02.json
IIIF 3.0 Manifest for Images and Mirador $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_03.json
Basic MODS 3.6 Caster $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_04.json
IIIF 2.1 Manifest for Images and Books $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_05.json
GeoJSON for Maps $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_06.json
A Bootstrap Carousel template from IIIF images and Views $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_07.json
General HTML Description block for Search Results $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_08.json
Basic Schema.org $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_09.json
Multiple Thumbnails via IIIF and FontAwesome $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_10.json
AMI Ingest JSON Template $ curl -w "\n" --user jsonapi:jsonapi -H 'Accept: application/vnd.api+json' -H 'Content-type: application/vnd.api+json' -XPOST https://dbopen.ba.cnr.it/jsonapi/metadatadisplay_entity/metadatadisplay_entity --data-binary @/home/user/archipelago-deployment-1.0.0-RC2D9/d8content/metadatadisplay_entity_11.json
Useful tools and binaries
Info and metadata extractors
sudo -s apt install exiftool $ exiftool -ver 11.88 $ which exiftool /usr/bin/exiftool
sudo -s apt install poppler-utils $ pdfinfo -v pdfinfo version 0.86.1 Copyright 2005-2020 The Poppler Developers - http://poppler.freedesktop.org Copyright 1996-2011 Glyph & Cog, LLC $ which pdfinfo /usr/bin/pdfinfo
wget https://github.com/openpreserve/fido/archive/v1.4.1.zip unzip v1.4.1.zip cd fido-1.4.1/ sudo python3 setup.py install $ fido -v FIDO v1.4.1 (formats-v96.xml, container-signature-20200121.xml, format_extensions.xml) $ which fido /usr/local/bin/fido
OCR tools
$ sudo apt install tesseract-ocr $ sudo apt install tesseract-ocr-ita $ tesseract -v tesseract 4.1.1 leptonica-1.79.0 libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 2.0.3) : libpng 1.6.37 : libtiff 4.1.0 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.1 Found AVX Found SSE Found libarchive 3.4.0 zlib/1.2.11 liblzma/5.2.4 bz2lib/1.0.8 liblz4/1.9.2 libzstd/1.4.4 $ which tesseract /usr/bin/tesseract
$ sudo apt install pdf2djvu $ pdf2djvu --version pdf2djvu 0.9.17 + DjVuLibre 3.5.27 + Poppler 0.86.1 + GraphicsMagick++ 1.3.35 (Q16) + Exiv2 0.27.2 $ which pdf2djvu /usr/bin/pdf2djvu
$ sudo apt install python python-lxml python3-djvu $ wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/p/python-djvulibre/python-djvu_0.8-3_amd64.deb $ sudo dpkg -i python-djvu_0.8-3_amd64.deb $ sudo apt install python-subprocess32 libdjvulibre-dev libdjvulibre21 $ sudo apt install make $ wget https://codeload.github.com/jwilk/ocrodjvu/zip/0.12 $ unzip 0.12 $ cd ocrodjvu-0.12/ $ sudo make install python - < lib/__init__.py # Python version check sed -e "1 s@^#!.*@#!/usr/bin/python@" -e "s#^basedir = .*#basedir = '/usr/local/share/ocrodjvu/'#" ocrodjvu > ocrodjvu.tmp install -d /usr/local/bin install ocrodjvu.tmp /usr/local/bin/ocrodjvu rm ocrodjvu.tmp sed -e "1 s@^#!.*@#!/usr/bin/python@" -e "s#^basedir = .*#basedir = '/usr/local/share/ocrodjvu/'#" hocr2djvused > hocr2djvused.tmp install -d /usr/local/bin install hocr2djvused.tmp /usr/local/bin/hocr2djvused rm hocr2djvused.tmp sed -e "1 s@^#!.*@#!/usr/bin/python@" -e "s#^basedir = .*#basedir = '/usr/local/share/ocrodjvu/'#" djvu2hocr > djvu2hocr.tmp install -d /usr/local/bin install djvu2hocr.tmp /usr/local/bin/djvu2hocr rm djvu2hocr.tmp install -d /usr/local/share/ocrodjvu/lib/ install -p -m644 lib//*.py /usr/local/share/ocrodjvu/lib/ install -d /usr/local/share/ocrodjvu/lib/cli install -p -m644 lib/cli/*.py /usr/local/share/ocrodjvu/lib/cli install -d /usr/local/share/ocrodjvu/lib/engines install -p -m644 lib/engines/*.py /usr/local/share/ocrodjvu/lib/engines umask 022 && python -m compileall -q /usr/local/share/ocrodjvu/lib/ # run "make -C doc" to build the manpages $ djvu2hocr --version djvu2hocr 0.12 + Python 2.7.18 + subprocess32 + python-djvulibre 0.8 + lxml 4.5.0 + html5lib-python 1.0.1 $ which djvu2hocr /usr/local/bin/djvu2hocr
Compile and install pdfalto
$ sudo apt-get install cmake pkg-config build-essential $ wget https://github.com/kermitt2/pdfalto/archive/refs/tags/0.4.zip $ unzip 0.4.zip $ cd pdfalto-0.4/ $ ./install_deps.sh $ git clone https://github.com/kermitt2/xpdf-4.03 $ cmake . $ make $ cd .. $ sudo mv pdfalto-0.4 /usr/local/src/ $ sudo ln -s /usr/local/src/pdfalto-0.4/pdfalto /usr/local/bin/pdfalto $ pdfalto pdfalto version 0.4 Usage: pdfalto [options] <PDF-file> [<xml-file>] -f <int> : first page to convert -l <int> : last page to convert -verbose : display pdf attributes -noImage : do not extract Images (Bitmap and Vectorial) -noImageInline : do not include images inline in the stream -outline : create an outline file xml -annotation : create an annotations file xml -noLineNumbers : do not output line numbers added in manuscript-style textual documents -readingOrder : blocks follow the reading order -noText : do not extract textual objects (might be useful, but non-valid ALTO) -charReadingOrderAttr : include TYPE attribute to String elements to indicate right-to-left reading order (might be useful, but non-valid ALTO) -fullFontName : fonts names are not normalized -nsURI <string> : add the specified namespace URI -opw <string> : owner password (for encrypted files) -upw <string> : user password (for encrypted files) -filesLimit <int> : limit of asset files be extracted -q : don't print any messages or errors -v : print version info -h : print usage information -help : print usage information --help : print usage information -? : print usage information
Update pdfalto to master for an issue on namespace
$ git clone https://github.com/kermitt2/pdfalto.git $ cd pdfalto/ $ ./install_deps.sh $ git clone https://github.com/kermitt2/xpdf-4.03 $ cmake . $ make $ cd .. $ sudo mv pdfalto /usr/local/src/pdfalto-0.5-SNAPSHOT $ sudo rm /usr/local/bin/pdfalto $ sudo ln -s /usr/local/src/pdfalto-0.5-SNAPSHOT/pdfalto /usr/local/bin/pdfalto $ pdfalto pdfalto version 0.5 Usage: pdfalto [options] <PDF-file> [<xml-file>] -f <int> : first page to convert -l <int> : last page to convert -verbose : display pdf attributes -noImage : do not extract Images (Bitmap and Vectorial) -noImageInline : do not include images inline in the stream -outline : create an outline file xml -annotation : create an annotations file xml -noLineNumbers : do not output line numbers added in manuscript-style textual documents -readingOrder : blocks follow the reading order -noText : do not extract textual objects (might be useful, but non-valid ALTO) -charReadingOrderAttr : include TYPE attribute to String elements to indicate right-to-left reading order (might be useful, but non-valid ALTO) -fullFontName : fonts names are not normalized -nsURI <string> : add the specified namespace URI -opw <string> : owner password (for encrypted files) -upw <string> : user password (for encrypted files) -filesLimit <int> : limit of asset files be extracted -q : don't print any messages or errors -v : print version info -h : print usage information -help : print usage information --help : print usage information -? : print usage information