Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local dockerized solr and RSpec configuration #112

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Local dockerized solr and RSpec configuration #112

wants to merge 23 commits into from

Conversation

mksndz
Copy link
Member

@mksndz mksndz commented Nov 10, 2020

No description provided.

@mksndz mksndz marked this pull request as ready for review November 19, 2020 19:34
@mksndz mksndz requested review from magibney and cgalarza November 19, 2020 19:34
@mksndz
Copy link
Member Author

mksndz commented Nov 19, 2020

rake franklin:solrconfig will now pull the https://gitlab.library.upenn.edu/franklin/franklin-solr-config repo and create Solr collections with that config. Setting SOLR_CONFIG_BRANCH will pull another remote branch if set.

README.md Outdated Show resolved Hide resolved
@cgalarza
Copy link
Member

I am trying to get the test running on my machine and when I run rake franklin:solrconfig, I get the following error:

Errno::ENOENT: No such file or directory @ dir_s_mkdir - /Users/cgalarza/code/discovery-app/solr_conf/franklin-solr-config-stable
/Users/cgalarza/code/discovery-app/lib/tasks/franklin.rake:63:in `mkdir'
/Users/cgalarza/code/discovery-app/lib/tasks/franklin.rake:63:in `block (3 levels) in <top (required)>'
/Users/cgalarza/code/discovery-app/lib/tasks/franklin.rake:61:in `block (2 levels) in <top (required)>'
/Users/cgalarza/.rvm/gems/ruby-2.3.3/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/Users/cgalarza/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:24:in `eval'
/Users/cgalarza/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => franklin:solrconfig
(See full trace by running task with --trace)

lib/tasks/franklin.rake Show resolved Hide resolved
README.md Show resolved Hide resolved
@mksndz
Copy link
Member Author

mksndz commented Nov 20, 2020

thanks @cgalarza , i fixed your issue by creating the solr_conf dir in the rake task

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.

2 participants