Skip to content

Commit

Permalink
document the docker-compose setup for Hyrax tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tamsin johnson authored and jeremyf committed Nov 17, 2020
1 parent 08b2619 commit 9fb43a1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CONTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ This starts containers for:

It also runs database migrations.

In the engine development `app` container, the `.dassie` test application is setup as a docker
bind mount to `/app/samvera/hyrax-webapp`, and your local development copy of Hyrax is bound to
`/app/samvera/hyrax-engine`.

This should bring up a development application on `http://localhost:3000`.

You should now also be able to run `rspec` with:

```sh
docker-compose exec -w /app/samvera/hyrax-engine app sh -c "bundle exec rspec spec/actors/hyrax/actors/file_actor_spec.rb"
```

## Hyrax Image

We also provide a base image which can be reused for your Hyrax applications: `hyrax`.
Expand Down

0 comments on commit 9fb43a1

Please sign in to comment.