A simple Samvera Hyrax application to catalog available Indiana University data sets.
Starts the service dependencies in containers, but not the application server which is run without containerization. Good for development as it allows easier debugging and code reloading.
git clone
this repository- Install Docker and Lando
lando start
bundle install
yarn install
rails db:setup
rails s
- https://localhost:3000
Starts everything in containers.
git clone
this repository- Install Docker
docker compose up
docker compose exec app rails db:setup
- https://localhost:3000
Uses the IU Login service for authentication, which requires SSL to be enabled. In the development environment a self signed certificate is used. (See localhost gem)
After logging in, an initial admin user can be set via the console:
rails c
ordocker compose exec app rails c
User.first.roles << Role.find_or_create_by(name:'admin')