Class: BlacklightLando::RunSolr

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/run_solr.rb

Overview

Generator for adding lando to a blacklight application and configuring it to use Solr

Instance Method Summary collapse

Instance Method Details

#create_lando_configObject

rubocop:enable Naming/HeredocDelimiterNaming



19
20
21
22
23
# File 'lib/generators/run_solr.rb', line 19

def create_lando_config
  copy_file ".lando_solr.yml", ".lando.yml"
  copy_file "lando_env.rb", "config/initializers/lando_env.rb"
  copy_file "blacklight.yml", "config/blacklight.yml"
end