Skip to content

Releases: DSpace-Labs/AIP-Files

Demo Site AIPs

07 Apr 16:03
b3a7766
Compare
Choose a tag to compare
Demo Site AIPs Pre-release
Pre-release

This release tag contains the set of demo AIPs (archival information packages) used on the https://demo.dspace.org/ demo site. These AIPs will also create the default demo accounts (username/password) which appear on that site.

They are not meant for Production, but may be useful test/sample data for development/test environments.

  1. We are assuming DSpace is already installed. The below instructions will overwrite any content within your installed DSpace.
  2. Download the Demo-AIPs.zip file attached to these release notes
  3. Unzip it into a folder/directory of your choice
  4. Temporarily, modify your local.cfg to change your handle prefix to match the handle prefix used by this set of AIPs
    handle.prefix = 10673
    
  5. Use the DSpace AIP Backup and Restore tools to load these AIPs into an existing version of DSpace. WARNING: This example will overwrite all existing content/users. For example:
    cd [directory]
    [dspace]/bin/dspace packager -u -r -a -f -t AIP -e [Admin-email-address] -i 10673/0 -o skipIfParentMissing=true -o createMetadataFields=true ./[email protected]
    
  6. Start/Restart Tomcat
  7. Reindex all content added/created by the AIPs
    # Rebuild search/browse indexes
    [dspace]/bin/dspace index-discovery -b
    
    # Rebuild OAI-PMH indexes
    [dspace]/bin/dspace oai import -c
    
    # Reset all Usage Statistics back to zero & optimize
    [dspace]/bin/dspace stats-utils -b -r
    [dspace]/bin/dspace stats-utils -o
    

Demo Entities Data

07 Apr 16:18
b3a7766
Compare
Choose a tag to compare
Demo Entities Data Pre-release
Pre-release

This release tag contains test/sample Configurable Entities data which uses the following Entities: Journal, Journal Volume, Journal Issues, OrgUnit, Person and Publication. This test data also includes all default demo accounts (username/password) which appear on the demo site.

This test data is NOT meant for Production, but may be useful test/sample data for development/test environments when demoing Entity functionality.

NOTE: If you are using Docker, you can bypass the below manual instructions and just use the Docker instructions for ingesting Entities Sample Data

  1. We are assuming DSpace is already installed. The below instructions will overwrite any content within your installed DSpace.
  2. Download the latest SQL dump file (dspace7-entities-data.sql). This provides the sample Communities, Collections, Items & Entities.
  3. Download the assetstore.tar.gz. This is sample files which correspond with the database dump.
  4. Unzip all files
  5. Copy the contents of assetstore.tar.gz into your [dspace]/assetstore folder.
  6. If you have an existing dspace database in Postgres, drop it.
  7. Now, import the database dump into Postgres. For example:
    # In this line, we are assuming your Postgres user is named "dspace"
    psql -U dspace < dspace7-entities-[date].sql
    
    # If you need to install this database under a different username, you may need to use
    # the 'pg_restore' command with the '--no-owner' flag. See https://stackoverflow.com/a/57748887/3750035
    
  8. If you would like to test the submission process for specific Entity types, then be sure to uncomment the sample Entities configuration in your [dspace]/config/item-submission.xml. That sample configuration matches this Entities data set.
  9. Start/Restart Tomcat
  10. Reindex all content
    # Rebuild search/browse indexes
    [dspace]/bin/dspace index-discovery -f
    
    # Rebuild OAI-PMH indexes
    [dspace]/bin/dspace oai import -c
    
    # Reset all Usage Statistics back to zero & optimize
    [dspace]/bin/dspace stats-util -b -r
    [dspace]/bin/dspace stats-util -o
    

Change History

  • Aug 23, 2024 - Updated dspace7-entities-data.sql and assetstore.tar.gz to include new DCAT test data for UX testing (see "DCAT Test Papers" and "DCAT Journals" top level Communities).
    • NOTE: The prior versions of these files were renamed dspace7-entities-2024-08-23.sql and assetstore-2024-08-23.tar.gz, just in case we decide to revert this new test data.
  • Feb 14, 2022 - Updated assetstore.tar.gz to replace/remove missing Bitstreams (fixes #3). Minor cleanup of some corrupted UTF-8 characters in metadata. Generated a new corresponding SQL Dump & renamed to dspace7-entities-data.sql so that the filename doesn't change between each update.
    • NOTE: The older dspace7-entities-2021-04-14.sql still exists temporarily, until references to it can all be updated. But, please use dspace7-entities-data.sql for the latest data.
  • March 14, 2021 - Minor cleanup of original database to remove non-DSpace tables, and non-out-of-box entities.