Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. docker compose up

  2. docker compose exec app sh

  3. cd /app/samvera/hyrax-engine/

  4. bundle exec rspec ./spec/controllers/catalog_controller_spec.rb

You may have to run bundle install from inside the the hyrax-engine directory

Run rails console on Koppie

...

  • If the postgres service logs show permissions errors, there may be old data from alternate versions of the postgres image. The old data volumes can deleted using docker compose -f docker-compose-koppie.yml down -v

  • Errors such as exec /app/samvera/hyrax-entrypoint.sh: no such file or directory in the app, sidekiq and db_migrate services may indicate an outdated cached hyrax-base image layer was used to build the koppie image. Try docker compose -f docker-compose-koppie.yml build --no-cache to rebuild all the image layers.

    • It was also seen on a Windows host and was resolved by using the git --core.autocrlf option. when cloning the repo.

Reference Documentation

References for Hyrax Development:

...