Skip to content

Unofficial dev setup for UCLA Library samvera project

Notifications You must be signed in to change notification settings

sourcefilter/samvera-docker

Repository files navigation

docker-samvera

The Docker-Samvera project sets up the Californica (Hyrax) and Ursus (Blacklight) environments for developers.

Prerequisites

The developer environment created by docker-samvera relies on Docker Engine and Docker Compose. Make sure you're running the latest versions.

Installation or upgrade instructions for Docker Compose and Docker Engine are available on their respective sites.

Getting started

The first thing you need to do is to download the samvera-docker, californica, and ursus GitHub repos:

git clone [email protected]:andrewbenedictwallace/samvera-docker.git
cd samvera-docker
git submodule init
git submodule update --recursive --remote

After that, you can run docker-compose to bring up the development environment:

docker-compose up

The first time you create the environment, you'll also need to provision the Californica and Ursus databases. From within the samvera-docker directory, run:

docker-compose run californica bash
bundle exec rake db:setup
bundle exec rake californica:ingest:sample

If this succeeds without error, you've successfully created your Californica environment and loaded some sample records.

Next, you can exit from the Californica container (or just open a new terminal on your host machine) and set up the Ursus database:

docker-compose run ursus bash
bundle exec rake db:setup

After this succeeds, you have a working development environment.

To access some of the services that you'll need, try finding them at the following locations:

Contact

If you have any questions or encounter any problems, feel free to contact Andy (or "Andrew Wallace" on UCLA's Slack) for assistance.

About

Unofficial dev setup for UCLA Library samvera project

Resources

Stars

Watchers

Forks

Packages

No packages published