Skip to content

Hyku update starting docs#1214

Merged
Janell-Huyck merged 7 commits into
hyku-oobfrom
hyku-update-starting-docs
Jul 22, 2026
Merged

Hyku update starting docs#1214
Janell-Huyck merged 7 commits into
hyku-oobfrom
hyku-update-starting-docs

Conversation

@Janell-Huyck

@Janell-Huyck Janell-Huyck commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reworks docs/local/ into a junior-friendly, no-Docker Hyku setup path (dependency pages, start-services / start-test-services, run-the-app, env, troubleshooting).
  • Adds remediable local shims: Solr/Fedora wrapper compat (config/fcrepo_wrapper_compat.rb, rubyzip 3 extract) and Sidekiq Redis thread_safe strip (config/sidekiq_redis_compat.rb) for Ruby 3.3 / Sidekiq 7.
  • Updates .env.local.mac.example for localhost Solr, HYKU_CACHE_ROOT, and Sidekiq; documents that Hyku db:seed does not create sample works.
  • Persists Solr wrapper install under the repo (.solr_wrapper), refreshes yarn.lock / .gitignore, and adds a markdown docs Cursor rule.

Test plan

  • Follow docs/local/README.md on a clean Mac: deps → env → start-services → db:setup → open http://localhost:3000
  • Confirm Solr starts with RUBYOPT="-r./config/fcrepo_wrapper_compat" and unpacks under tmp/solr-development (not ./var/folders/...)
  • Confirm Sidekiq / Rails / db:seed work with RUBYOPT="-r./config/sidekiq_redis_compat" (no unknown keyword: :thread_safe)
  • Confirm homepage loads with HYKU_CACHE_ROOT set (no Errno::EROFS / mkdir /app)
  • Confirm empty catalog after seed is expected; admin sign-in works via INITIAL_ADMIN_*
  • CI (lint / RuboCop) green on this branch

Point teammates at docs/local and .env.local.mac.example, call out
Sidekiq env vars early, cache Solr under tmp/ for faster restarts, and
add a Markdown docs style rule for readable previews.
Strip Hyku's legacy thread_safe Redis option so Sidekiq 7 can boot, and document Solr-ready checks before seeding.
Make fcrepo_wrapper_compat unpack Solr with rubyzip 3, document Redis thread_safe preload for Rails seed/server, and set SOLR_* localhost defaults so db:seed does not hit Docker hostnames.
Fix RuboCop on local Solr/Sidekiq shims so CI can merge this docs branch cleanly.
@Janell-Huyck Janell-Huyck changed the title WIP Hyku update starting docs Hyku update starting docs Jul 22, 2026
@Janell-Huyck
Janell-Huyck merged commit 91859b8 into hyku-oob Jul 22, 2026
9 checks passed
@Janell-Huyck
Janell-Huyck deleted the hyku-update-starting-docs branch July 22, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant