Sha256: 6b77e9180522e270676a041c3b4713dab13a020f921ab7f32b6dffb5882562a3
Contents?: true
Size: 521 Bytes
Versions: 42
Compression:
Stored size: 521 Bytes
Contents
require 'rails/generators' module ActiveFedora class Config::SolrGenerator < Rails::Generators::Base source_root ::File.expand_path('../templates', __FILE__) def generate # Overwrite the configuration files that Blacklight has installed copy_file 'solr.yml', 'config/solr.yml', force: true directory 'solr', 'solr' end def solr_wrapper_config copy_file '.solr_wrapper', '.solr_wrapper' copy_file 'solr_wrapper_test.yml', 'config/solr_wrapper_test.yml' end end end
Version data entries
42 entries across 42 versions & 1 rubygems