Codename: Hyku
solr_wrapper
fcrepo_wrapper
postgres -D ./db/postgres
redis-server /usr/local/etc/redis.conf
bin/setup
DISABLE_REDIS_CLUSTER=true bundle exec sidekiq
DISABLE_REDIS_CLUSTER=true bundle exec rails server -b 0.0.0.0
See the Hyku Development Guide for how to run tests.
AWS CloudFormation templates for the Hyku stack are available in a separate repository:
We distribute a docker-compose.yml
configuration for running the Hyku stack and application using docker. Once you have docker installed and running, launch the stack using e.g.:
docker-compose up -d
The recommend way to switch your current session from one account to another is by doing:
AccountElevator.switch!('repo.example.com')
Hydra-in-a-Box supports multitenancy using the apartment
gem. apartment
works best with a postgres database.
./bin/import_from_csv localhost spec/fixtures/csv/gse_metadata.csv ../hyku-objects
./bin/import_from_purl ../hyku-objects bc390xk2647 bc402fk6835 bc483gc9313