Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create .koppie (.dassie without Fedora) #5830

Merged
merged 2 commits into from
Sep 2, 2022
Merged

Create .koppie (.dassie without Fedora) #5830

merged 2 commits into from
Sep 2, 2022

Conversation

dlpierce
Copy link
Contributor

The purpose of Koppie is to provide a way for developers to work on valkyrie support in hyrax, without the presence of Fedora, in the same way .dassie is currently used.

It was created by copying the current nurax-pg application into the .koppie directory and then removing the parts unneeded for running only in the docker-compose environment, such as capistrano deployment. It has its own compose file docker-compose-koppie.yml which can be used like so:
docker-compose -f docker-compose-koppie.yml up

One additional fix was made to the recently added seed data system to allow the admin role to be assigned.

As noted in the README, koppies are isolated granite outcrops in Southern Africa that are a favored habitat for hyraxes.

@samvera/hyrax-code-reviewers

unless defined? Role
unless ::User.reflect_on_association(:roles)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Role seemed to not be loaded while running rake db:seed, so this instead checks if the user model has a roles association which add_user also depends on existing.

@dlpierce dlpierce merged commit 76104da into main Sep 2, 2022
@dlpierce dlpierce deleted the koppie branch September 2, 2022 15:17
@dlpierce dlpierce added the notes-container Release Notes: Docker, Helm, etc label Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-container Release Notes: Docker, Helm, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants