black-library-cb-csv-experiment
Created from the template at CollectionBuilder/collectionbuilder-csv after realizing that the SHEETS version won't fit our needs.
https://github.com/digital-grinnell/black-library-cb-csv-experiment
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.9%) to scientific vocabulary
Repository
Created from the template at CollectionBuilder/collectionbuilder-csv after realizing that the SHEETS version won't fit our needs.
Basic Info
- Host: GitHub
- Owner: Digital-Grinnell
- License: mit
- Language: HTML
- Default Branch: main
- Size: 32.6 MB
Statistics
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
CollectionBuilder-CSV
Attention! We Have Issues
2024-04-30T09:42:20-05:00 - Why did we abandon CB SHEETS in favor of CSV?
CollectionBuilder-CSV is a robust and flexible "stand alone" template for creating digital collection and exhibit websites using Jekyll and a metadata CSV. Driven by your collection metadata, the template generates engaging visualizations to browse and explore your objects. The resulting static site can be hosted on any basic web server (or built automatically using GitHub Actions).
Visit the CollectionBuilder Docs for step-by-step details for getting started and building collections!
Black Library Project Resources
|https://grinco-my.sharepoint.com/:f:/r/personal/caveelizabethgrinnelledu/Documents/Black%20Library%20items?csf=1&web=1&e=7e6prh| OneDrive folder |
| Link | Description |
| --- | --- |
| https://docs.google.com/spreadsheets/d/17uNXLP5aTSCfYZ8FXBqTvDd-z0F19FJeAOK5TsCr-PI/edit | The project's public metadata spreadsheet, built from https://docs.google.com/spreadsheets/d/1nNk4JQB4LJraIzns7WcM3OXK-xxGMQhW1shMssflNM/edit#gid=1973435486 and our SHEETS predecessor. |
| https://zealous-rock-08144ee10.4.azurestaticapps.net | main branch deployed to Azure Static Web Apps |
| https://docs.google.com/spreadsheets/d/17uNXLP5aTSCfYZ8FXBqTvDd-z0F19FJeAOK5TsCr-PI/edit#gid=823757564 | "From the Documentation" portion of our Google Sheet |
| https://grinco-my.sharepoint.com/:f:/r/personal/caveelizabethgrinnell_edu/Documents/Black%20Library%20items?csf=1&web=1&e=7e6prh | OneDrive folder |
Running Locally
zsh
bundle exec jekyll serve
objectid Convention
grinnell_<index> denotes a legacy object imported from Digital.Grinnell.
dg_<epoch> denotes a new object NOT imported from Digital.Grinnell. <epoch> is a simple 10-digit UNIX epoch time generated when the object is cataloged.
Building as an Azure Static Web App
Following the guidance provided in Deploy your web app...
I choose the jekyll build option rather than Custom and got this workflow file...
```yml name: Azure Static Web Apps CI/CD
on: push: branches: - main pull_request: types: [opened, synchronize, reopened, closed] branches: - main
jobs: buildanddeployjob: if: github.eventname == 'push' || (github.eventname == 'pullrequest' && github.event.action != 'closed') runs-on: ubuntu-latest name: Build and Deploy Job steps: - uses: actions/checkout@v3 with: submodules: true lfs: false - name: Build And Deploy id: builddeploy uses: Azure/static-web-apps-deploy@v1 with: azurestaticwebappsapitoken: ${{ secrets.AZURESTATICWEBAPPSAPITOKEN<GENERATEDHOSTNAME> }} repotoken: ${{ secrets.GITHUBTOKEN }} # Used for Github integrations (i.e. PR comments) action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig applocation: "./" # App source code path apilocation: "" # Api source code path - optional outputlocation: "site" # Built app content directory - optional ###### End of Repository/Build Configurations ######
closepullrequestjob:
if: github.eventname == 'pullrequest' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azurestaticwebappsapitoken: ${{ secrets.AZURESTATICWEBAPPSAPITOKEN
Following the aforementioned procedure eventually produced the site https://zealous-rock-08144ee10.4.azurestaticapps.net.
This workflow uses GitHub Actions to deploy and you can see the status of deployment at https://github.com/Digital-Grinnell/black-library-CB-CSV-experiment/actions?query=workflow%3A%22Azure%20Static%20Web%20Apps%20CI%2FCD%22%20branch%3Amain.
Brief Overview of Building a Collection
The CollectionBuilder Docs contain detailed information about building a collection from start to finish--including installing software, using Git/GitHub, preparing digital objects, and formatting metadata. However, here is a super quick overview of the process:
- Make your own copy of this template repository by clicking the green "Use this Template" button on GitHub (see repository set up docs). This copy of the template is the starting point for your "project repository", i.e. the source code for your digital collection site!
- Prepare your collection metadata following the CB-CSV template (see our demo metadata template on Google Sheets and metadata docs). Your metadata will include links to your digital files (images, pdfs, videos, etc) and thumbnails wherever they are hosted.
- Add your metadata as a CSV to your project repository's "_data" folder (see upload metadata docs).
- Edit your project's "config.yml" with your collection information (see site configuration docs). Additional customization is done via a theme file, configuration files, CSS tweaks, and more--however, once your "config.yml" is edited your site is ready to be previewed.
- Generate your site using Jekyll! (see docs for how to use Jekyll locally and deploy on the web)
Please feel free to ask questions in the main CollectionBuilder discussion forum.
CollectionBuilder
https://collectionbuilder.github.io/
CollectionBuilder is a project of University of Idaho Library's Digital Initiatives and the Center for Digital Inquiry and Learning (CDIL) following the Lib-Static methodology. Powered by the open source static site generator Jekyll and a modern static web stack, it puts collection metadata to work building beautiful sites.
The basic theme is created using Bootstrap. Metadata visualizations are built using open source libraries such as DataTables, Leafletjs, Spotlight gallery, lazysizes, and Lunr.js. Object metadata is exposed using Schema.org and Open Graph protocol standards.
Questions can be directed to collectionbuilder.team@gmail.com
License
CollectionBuilder documentation and general web content is licensed Creative Commons Attribution-ShareAlike 4.0 International.
This license does NOT include any objects or images used in digital collections, which may have individually applied licenses described by a "rights" field.
CollectionBuilder code is licensed MIT.
This license does not include external dependencies included in the assets/lib directory, which are covered by their individual licenses.
Deploy to Azure Static Web App
```zsh name: Azure Static Web Apps CI/CD
on: push: branches: - main pull_request: types: [opened, synchronize, reopened, closed] branches: - main
jobs: buildanddeployjob: if: github.eventname == 'push' || (github.eventname == 'pullrequest' && github.event.action != 'closed') runs-on: ubuntu-latest name: Build and Deploy Job steps: - uses: actions/checkout@v3 with: submodules: true lfs: false - name: Build And Deploy id: builddeploy uses: Azure/static-web-apps-deploy@v1 with: azurestaticwebappsapitoken: ${{ secrets.AZURESTATICWEBAPPSAPITOKENPOLITEBEACH05200E310 }} repotoken: ${{ secrets.GITHUBTOKEN }} # Used for Github integrations (i.e. PR comments) action: "upload" ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig applocation: "/" # App source code path apilocation: "" # Api source code path - optional outputlocation: "_site" # Built app content directory - optional ###### End of Repository/Build Configurations ######
closepullrequestjob: if: github.eventname == 'pullrequest' && github.event.action == 'closed' runs-on: ubuntu-latest name: Close Pull Request Job steps: - name: Close Pull Request id: closepullrequest uses: Azure/static-web-apps-deploy@v1 with: azurestaticwebappsapitoken: ${{ secrets.AZURESTATICWEBAPPSAPITOKENPOLITEBEACH05200E310 }} action: "close" ```
Owner
- Name: Digital Grinnell
- Login: Digital-Grinnell
- Kind: user
- Location: Grinnell, Iowa
- Company: Grinnell College Libraries
- Website: https://digital.grinnell.edu
- Repositories: 30
- Profile: https://github.com/Digital-Grinnell
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
title: "CollectionBuilder-CSV"
type: software
authors:
- family-names: Williamson
given-names: Evan Peter
orcid: https://orcid.org/0000-0002-7990-9924
- family-names: Becker
given-names: Devin
orcid: https://orcid.org/0000-0002-0974-9064
- family-names: Wikle
given-names: Olivia
orcid: https://orcid.org/0000-0001-8122-4169
repository-code: 'https://github.com/CollectionBuilder/collectionbuilder-csv'
url: 'https://collectionbuilder.github.io/'
license: MIT
version: 1+
date-released: '2021-04-25'
abstract: >-
CollectionBuilder is an open source tool for
creating digital collection and exhibit websites
that are driven by metadata and powered by modern
static web technology.
license: MIT
GitHub Events
Total
- Push event: 12
Last Year
- Push event: 12
Dependencies
- image_optim >= 0
- image_optim_pack >= 0
- jekyll >= 0
- mini_magick >= 0
- rake >= 0
- webrick ~> 1.7
- Azure/static-web-apps-deploy v1 composite
- actions/checkout v3 composite