Sha256: 01d7af757da277ade3898c84d3c858820cb90213b4d32079cb05a6efdd902f1c
Contents?: true
Size: 956 Bytes
Versions: 28
Compression:
Stored size: 956 Bytes
Contents
# This is an optional class is used by `lono seed [blueprint]` to create starter configs. # Example files that get created: # # configs/BLUEPRINT/params/LONO_ENV.txt # configs/BLUEPRINT/variables/LONO_ENV.rb # # The `Lono::Seed::Configs` class should implement: # # setup: Hook to perform logic at the beginning. A good place to create IAM service roles. # variables: Template for generated variables file. Contents of what gets created at # configs/[blueprint]/variables/development.rb # # Note: There is no need to define a params method. Lono is able to generate a params config starter file by evaluating the template defintion. # class Lono::Seed::Configs < Lono::Seed::Base # Setup hook # def setup # end # Template for variables. # Return String with the content of the config/BLUEPRINT/variables file. # def variables # <<~EOL # @variable1=starter_value1 # @variable2=starter_value2 # EOL # end end
Version data entries
28 entries across 28 versions & 1 rubygems