Class: BlacklightLando::RunSolr
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- BlacklightLando::RunSolr
- 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
-
#create_lando_config ⇒ Object
rubocop:enable Naming/HeredocDelimiterNaming.
Instance Method Details
#create_lando_config ⇒ Object
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 |