Releases: DSpace-Labs/AIP-Files
Demo Site AIPs
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.
- We are assuming DSpace is already installed. The below instructions will overwrite any content within your installed DSpace.
- Download the
Demo-AIPs.zip
file attached to these release notes - Unzip it into a folder/directory of your choice
- Temporarily, modify your local.cfg to change your handle prefix to match the handle prefix used by this set of AIPs
handle.prefix = 10673
- 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]
- Start/Restart Tomcat
- 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
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
- We are assuming DSpace is already installed. The below instructions will overwrite any content within your installed DSpace.
- Download the latest SQL dump file (
dspace7-entities-data.sql
). This provides the sample Communities, Collections, Items & Entities. - Download the
assetstore.tar.gz
. This is sample files which correspond with the database dump. - Unzip all files
- Copy the contents of
assetstore.tar.gz
into your[dspace]/assetstore
folder. - If you have an existing
dspace
database in Postgres, drop it. - 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
- 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. - Start/Restart Tomcat
- 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
andassetstore.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
andassetstore-2024-08-23.tar.gz
, just in case we decide to revert this new test data.
- NOTE: The prior versions of these files were renamed
- 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 todspace7-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 usedspace7-entities-data.sql
for the latest data.
- NOTE: The older
- March 14, 2021 - Minor cleanup of original database to remove non-DSpace tables, and non-out-of-box entities.