Skip to content

pulibrary/date_builder

Repository files navigation

This plugin is in development and has limited functionality

To test the plugin on a local 4.x ASpace instance:

  1. Go to https://github.com/archivesspace/archivesspace/releases
  2. For the archivesspace release you'd like to test, download the archivesspace-docker zip file
  3. Unzip the file
  4. cd into the uncompressed archivesspace-docker directory
  5. In config/config.rb, uncomment the array of plugins and add date_builder
  6. cd plugins
  7. git clone [email protected]:pulibrary/date_builder.git
  8. docker compose up -d
  9. Enter the docker container: docker compose exec -it app bash
  10. Navigate into archivesspace and initialize the plugin: ./scripts/initialize-plugin.sh date_builder
  11. Wait for aspace to come up. It will take several minutes.
  12. Go to http://localhost/staff
  13. Log in with credentials: admin / admin
  14. Create or modify records with dates. Note that if the date has no expression, but does have a begin and/or end date, the expression will be automatically filled in after you save the record.

To run tests locally:

  1. bundle install
  2. bundle exec rspec

About

An archivesspace plugin to help with date expressions

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages