Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

DEV-686 ptsearch #2

Closed
wants to merge 29 commits into from
Closed

DEV-686 ptsearch #2

wants to merge 29 commits into from

Conversation

aelkiss
Copy link
Member

@aelkiss aelkiss commented Apr 3, 2023

Enable search in a book

aelkiss added 29 commits March 22, 2023 17:00
Almost working - just need to get it to index the output from solr
(probably an issue with load_into_solr.sh)
Get it up to date with new imgsrv & slip stuff
trying to get it all working w/ a clean checkout
This attempts to reconcile earlier work here with later work in the
imgsrv repo and more recent work in this branch.

It uses:

- nginx for catalog, imgsrv fastcgi, and static files
- proxy to apache for cgi

So far working:

- catalog incl. CSS & JS (via shared checked-out common repo)
- imgsrv fcgi
- imgsrv cgi

I was also able to clone pt & see that it at least attempted it (it had
an error about missing GeoIP data)
* Add ssd to checkout list

* Enumerate directories to mount for apache - otherwise directories we
  have in the image (geoip, cache, etc) get masked. Could change this in
  the future if we move more of the infrastructure directly to this repo
  rather than relying on checkouts in the parent dir
* ensure usage is actually printed
* update ht-pairtree to make sure that namespace dir is created
  with correct prefix
* Don't give instructions to clutter parent dir
* Move dockerfile for perl apps here
- ensures data dir is owned by current user
- mount log dir outside

We could try to use a Docker volume for this, but the problem is that it
still wouldn't be owned by the solr user by default. If we were using a
Dockerfile instead of mounting config directories in, we would have some
other options. There might be other ways to work around this in the
future, but this works for now.
Avoids issues with permissions w/ cache, logs, etc
the web server now runs as the user running setup.sh, so cache needs to
be writable by that user - it was being created & owned by root
* Fix mount for slip output
- build indexer rather than using image (which may not exist)
- take pt & ssd off of branches
- add ptsearch repo
- update stage-item to work correctly w/ traject/catalog indexing
- add ptsearch env vars
@aelkiss
Copy link
Member Author

aelkiss commented Apr 3, 2023

Needs:

@aelkiss
Copy link
Member Author

aelkiss commented Apr 6, 2023

Superceded by #3

@aelkiss aelkiss closed this Apr 6, 2023
@aelkiss aelkiss deleted the DEV-686-ptsearch branch April 6, 2023 13:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant