Skip to content

Commit

Permalink
Update readme for basic dev install instructions, add yaml package fo…
Browse files Browse the repository at this point in the history
…r psych gem
  • Loading branch information
dgcliff committed Jan 15, 2025
1 parent 77a4261 commit 4ae6c16
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.8.10
2.8.11
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ruby:3.2-slim
# update the repository sources list
# and install dependencies
RUN apt-get update \
&& apt-get install -y nodejs curl git build-essential libpq-dev libmagic-dev libvips-dev \
&& apt-get install -y nodejs curl git build-essential libpq-dev libmagic-dev libvips-dev libyaml-dev \
&& apt-get -y autoclean

RUN curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > /usr/local/bin/cc-test-reporter
Expand Down
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,27 @@
Cerberus is the Ruby on Rails codebase for Northeastern's Digital Repository Service.

The code base utilizes Valkyrie, Blacklight, Solr and PostgreSQL

## Getting started

Make sure you have docker installed.

Get a copy of the codebase
```
git clone [email protected]:NEU-Libraries/cerberus.git
```

Use docker compose to pull down the containers and build Cerberus
```
ATLAS=0.0.157 docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build
```

Once running, use another console/tab to go inside the container.
```
docker exec -ti cerberus-web-1 /bin/sh
```

Once inside, generate some test objects
```
bundle exec rake reset:data
```

0 comments on commit 4ae6c16

Please sign in to comment.