Skip to content
/ arch Public

Northwestern University institutional repository, built on Samvera's Hyrax gem.

Notifications You must be signed in to change notification settings

nulib/arch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c12b393 · Feb 27, 2025
Jan 9, 2019
Feb 27, 2025
Feb 26, 2025
Feb 27, 2025
Oct 27, 2022
Nov 8, 2018
Mar 3, 2022
Apr 7, 2016
Mar 22, 2017
Jun 28, 2018
Apr 19, 2022
Jun 21, 2022
Apr 7, 2016
Apr 7, 2016
Sep 16, 2021
Jun 9, 2016
May 16, 2022
Jun 17, 2021
Jan 16, 2020
May 18, 2018
Sep 16, 2021
Jun 18, 2018
Feb 27, 2025
Sep 16, 2021
May 3, 2022
Nov 3, 2021
Nov 3, 2021
May 8, 2018
Apr 7, 2016

Repository files navigation

Arch

CircleCI

Arch is our institutional repository and is a Hyrax 2 application.

Environments

Software Architecture

Arch is hosted on AWS. It's using NUL's shared Fedora 4 instance and has it's own Solr core on a shared Solr instance.

Developer Dependencies

These should match closely with the Hyrax requirements:

  • Ruby 2.3.0 and rbenv, Bundler (https://github.com/rbenv/rbenv#homebrew-on-mac-os-x)
    • If you get permission errors running gem install bundler, try the following:
      • Set your global ruby environment by running: rbenv global 2.3.0
      • In your user's .bash_profile, include this line at the bottom: eval "$(rbenv init -)"
      • Open a new terminal window and run: gem install bundler
  • Download and install LibreOffice https://www.libreoffice.org/download/download/
  • Imagemagick brew install imagemagick --with-ghostscript --with-openjpeg
  • ffmpeg brew install ffmpeg --with-fdk-aac --with-libvpx --with-libvorbis
  • fits brew install fits
  • vips brew install vips
  • Install devstack according to the instructions in the README
  • Follow the Dev Environment Setup instructions

Developer Installation

  • Clone this repository git clone git@github.com:nulib/arch.git
  • From inside the project directory run bundle install
  • Start the docker stack with devstack up arch
  • From inside the project directory run bundle exec rake arch:seed
    • You can include the optional arguments to create an admin user (such as yourself). Ex: bundle exec rake arch:seed ADMIN_USER=your_netid ADMIN_EMAIL=your_email@northwestern.edu
  • In a separate tab, start the rails server bundle exec rails server
  • You can see the app in a browser at https://devbox.library.northwestern.edu:3000

Running the tests

  • Start the test stack devstack -t up arch
  • Run the seed task for the test environment: bundle exec rake arch:seed RAILS_ENV=test
  • Run the test suite: bundle exec rspec

Deploying

  • Submit a PR in github to the environment's deploy branch
    • To deploy to staging submit a PR to deploy/staging
    • To deploy to production submit a PR to main

About

Northwestern University institutional repository, built on Samvera's Hyrax gem.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published