Deploy
Digital Collection Team members will submit information via Collection Update Form to trigger updates. When a collection is ready to be published or updated the CDIL team is in charge of deploying the collection to the live web.
The Digital Projects Manager and Digital Initiatives Librarian will prep it for publication/update. Overview:
- Switch to the collection branch and git pull to get updates.
- Merge any updates from main if necessary.
- QC branch with local testing (see below).
- Build and deploy to live web location (see below).
For new collections, we will also send the collection to DC QC and launch process.
QC Branch
Start your local server and look at the branch code to check over details:
- Review metadata fields to ensure current required fields exist, are correctly named, and are filled according to our current conventions. Update legacy fields as necessary. In particular fix these fields which require standardization for aggregation:
- “title” is not blank.
- “date” is in ISO format (yyyy-mm-dd, yyyy-mm, or yyyy only, no slashes! Other date styles can be in “archival_date” field).
- “type” matches standard DCMI Type Vocabulary.
- “format” matches MIME type standard.
- “rightsstatement” is a valid URI.
- “language” is valid 3 letter code.
- Review config files to ensure metadata is being used correctly.
- “config-browse.csv” includes all fields that have browse links (i.e. from cloud pages or item pages).
- “config-metadata.csv” is displaying all relevant fields. Check custom fields.
- “config-table.csv” is using meaningful fields.
- “theme.yml” has “metadata-export-fields” and “metadata-facets-fields” set.
- Carefully check “config-search-index.csv” to ensure it will get relevant metadata.
- Double check the metadata to confirm these fields follow the standard conventions. Check on full text and no search considerations if necessary.
- New collections going into QC process should NOT be in central Search. Leave “_config.yml”
central-search:
blank. However, configuration should be set up and reviewed. - If collection is launched and ready for Search, ensure “_config.yml” has
central-search: true
.
- Review about page to ensure it exists and has relevant content matching our conventions.
- Review any customizations to ensure they are functioning as intended (occasionally legacy content is broken!).
Build and Deploy
Once QC is complete:
- Run
rake deploy
in the terminal in the collection branch, wait for it to build (this can take a long time!). - In your File Explorer, open the folder containing the collection branch, and navigate to the “_site” folder.
- In a new File Explorer window, open the Websites drive and navigate to the “digital” folder in Websites > www-lib-uidaho-edu > Content > digital.
- Inside the “digital” folder, the collection will have a folder matching it’s stub name. If it is a new collection create a new folder using the stub name. Navigate into the collection folder.
- Inside the “_site” folder, select all (Ctrl+A) and copy (Ctrl+C).
- Inside the collection folder on the server, paste the files (Ctrl+V). Wait for all the files to transfer over.
- Open a new private window in your browser and test the collection to ensure everything looks correct.
- Check Search Sources to ensure the collection is reindexed if necessary.