Skip to content

rdlebeau/rdc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Research Data Catalog

A simple Samvera Hyrax application to catalog available Indiana University data sets.

Quickstart

Lando

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.

  1. git clone this repository
  2. Install Docker and Lando
  3. lando start
  4. bundle install
  5. yarn install
  6. rails db:setup
  7. rails s
  8. https://localhost:3000

Docker Compose

Starts everything in containers.

  1. git clone this repository
  2. Install Docker
  3. docker compose up
  4. docker compose exec app rails db:setup
  5. https://localhost:3000

Authentication

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:

  1. rails c or docker compose exec app rails c
  2. User.first.roles << Role.find_or_create_by(name:'admin')

About

Research Data Catalog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 74.9%
  • HTML 11.7%
  • XSLT 10.4%
  • JavaScript 2.0%
  • CSS 0.7%
  • SCSS 0.2%
  • Dockerfile 0.1%