Skip to content

Commit

Permalink
Merge pull request #554 from samvera-labs/issue-516-awead-update-readme
Browse files Browse the repository at this point in the history
Updating the README
  • Loading branch information
escowles committed Aug 8, 2018
2 parents a3b3a07 + 03a2f5f commit be783e9
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@ Valkyrie is a gem for enabling multiple backends for storage of files and metada

Add this line to your application's Gemfile:

```ruby
```
gem 'valkyrie'
```

And then execute:

$ bundle


## Configuration

Valkyrie is configured in two places: an initializer that registers the persistence options and a YAML
Expand All @@ -39,6 +38,7 @@ configuration file that sets which options are used by default in which environm
Here is a sample initializer that registers a couple adapters and storage adapters, in each case linking an
instance with a short name that can be used to refer to it in your application:


```
# frozen_string_literal: true
require 'valkyrie'
Expand Down Expand Up @@ -114,6 +114,19 @@ Further details can be found on the [the Wiki](https://github.com/samvera-labs/v

## Usage

### The Public API

Valkyrie's public API is defined by the shared specs that are used to test each of its core classes.
This include change sets, resources, persisters, adapters, and queries. When creating your own kinds of
these kinds of classes, you should use these shared specs to test your classes for conformance to
Valkyrie's API.

When breaking changes are introduced, necessitating a major version change, the shared specs will reflect
this. Likewise, non-breaking changes to Valkyrie can be defined as code changes that do not cause any
errors with the current shared specs.

Using the shared specs in your own models is described in more [detail](https://github.com/samvera-labs/valkyrie/wiki/Shared-Specs).

### Define a Custom Work

Define a custom work class:
Expand Down Expand Up @@ -198,7 +211,7 @@ By default, it is assumed that a Valkyrie repository implementation shall use a

1. `docker-machine create default`
1. `docker-machine start default`
1. `eval "$(docker-machine env)"
1. `eval "$(docker-machine env)"`

#### Starting the development mode dependencies
1. Start Solr, Fedora, and PostgreSQL with `rake docker:dev:daemon` (or `rake docker:dev:up` in a separate shell to run them in the foreground)
Expand Down

0 comments on commit be783e9

Please sign in to comment.