NYPL's Preservation of Audio and Moving Image (PAMI) team performs reformatting to provide long-term preservation and access for our audiovisual collections. This repository contains the resources, tools, internal documentation that support digitization, quality assurance, and quality control activities within the PAMI workflow. Use the following links to navigate to various tools stored in the repo:
Administrators must set up their site development environment before attempting to make changes to any documents, so they can test funcitonality on the live site before releasing it to the public. Below are the installation instructions.
-
See this site for ruby / gem / bundler troubleshooting: https://idratherbewriting.com/documentation-theme-jekyll/mydoc_install_jekyll_on_mac.html
-
If you don’t have ruby:
brew install ruby
-
If ruby is not in usr/local/bin:
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
- Quit & restart Terminal
- Open Terminal and check again:
which ruby
andwhich gem
(again, see here for info on installing ruby in the correct location) - All set!? (if not, seek help with a human)
-
Install dependencies
- Run
gem install Jekyll
- Run
gem install bundler
- Clone the ami-repository repository to desired location (or update local existing copy)
- Navigate to /docs site folder:
cd /path/to/ami-preservation/docs
- Run
bundle
- Run
- Edit Markdown files using a text editor (such as Atom or Sublime Text)
- Save and commit changes to the repo.
- Run
cd /path/to/ami-preservation/docs/
- Run
bundle exec jekyll serve
- Open your Web Browser and navigate to http://localhost:4000
- Reload page as needed to view changes in real time.