Skip to content

Commit

Permalink
Merge pull request #671 from cul-it/fix-db-persist
Browse files Browse the repository at this point in the history
Actually persist db data in dev container
  • Loading branch information
chrisrlc authored Sep 17, 2024
2 parents 27b31c7 + a993151 commit 802336f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ Web server: http://localhost:9292

Solr: http://localhost:8983

Sidekiq: http://localhost:9292/sidekiq

#### Set up initial data

1. Set up admin user using the SITE_ADMINS email set in your dotenv file: `bundle exec rake spotlight:initialize`

1. Set up initial exhibit: `bundle exec rake spotlight:exhibit`

#### Testing in Docker

Run full test suite:
Expand Down
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
ports:
- 3306:3306
volumes:
- db-data:/var/lib/mysql/data
- db-data:/var/lib/mysql

solr:
extends:
Expand Down

0 comments on commit 802336f

Please sign in to comment.