Class: ActiveFedora::Config::SolrGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/active_fedora/config/solr/solr_generator.rb

Instance Method Summary collapse

Instance Method Details

#generateObject


7
8
9
10
11
12
# File 'lib/generators/active_fedora/config/solr/solr_generator.rb', line 7

def generate
  # Overwrite the configuration files that Blacklight has installed
  copy_file 'jetty.yml', 'config/jetty.yml', force: true
  copy_file 'solr.yml', 'config/solr.yml', force: true
  directory 'solr_conf', 'solr_conf'
end