Skip to main content Link Search Menu Expand Document (external link)

4: Add batch data to the repository Work in Progress!

Role Contributor

  • The user(s) responsible for curating the actual batch data should follow this guide with some guidance from an NYU DSS admin as needed.
  • They will need write privileges to commit changes to the batch repo.

Steps

  1. Clone the batch repository created in tutorial 0: Set up the batch repository

    git clone git@github.com:middlicomp/aperitiiif-batch-CHANGEME.git
    
  2. In your cloned copy, open the src folder and delete the data folder and records.csv file.

  3. Copy the new data folder and records.csv you created in tutorials 2 and 3 into the repository’s src directory.

    If you have a local Ruby development environment set up, you can test the batch locally at this point before committing the changes. For instructions, see Using the aperitiiif cli.

  4. Add, commit, and push the changes to GitHub

    git add .
    git commit -m 'init batch data'
    git push