-
Notifications
You must be signed in to change notification settings - Fork 0
DEV-667: stage item in repo & index with catalog & full-text #5
Conversation
43b3611
to
342292d
Compare
This attempts to reconcile earlier work here with later work in the imgsrv repo. It uses: - nginx for catalog, imgsrv fastcgi, and static files - proxy to apache for cgi It runs most containers as the current user to avoid permissions problems with cache, logs, etc. So far working: - catalog incl. CSS & JS (via shared checked-out common repo) - imgsrv fcgi & cgi - pageturner - ssd
342292d
to
51603bd
Compare
I think this is ready to make sure that everything works as advertised, especially on ARM. |
depends_on: | ||
- solr-sdr-catalog | ||
volumes: | ||
- "./sample-data/metadata:/app/metadata" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs - ./hathitrust_catalog_indexer:/app
for the script to be found in stage_item.rb
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But then I get
bundler: command not found: traject
Install missing gem executables with `bundle install`
It doesn't seem any bundle install
persists between babel_traject_run
calls.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Argh. I think this is a side effect of using the hathitrust_catalog_indexer
via the checked out copy rather than via the image. I will make the required changes...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be fixed now.
With using the 'build' dockerfile instead of the image, we need to make sure that we install gems and have a place for them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huzzah! I had to do docker-compose run traject bundle install
but after that everything works!
Yup, that's in the README now. |
Like #1 but rebased & squashed (I didn't want to overwrite that branch since there's some other stuff happening off of it).