Sha256: e3bd9bbf93abe52b7a6aaa8ce98b1475efae48e78d32b250cbb6c6f6d48fd4c2
Contents?: true
Size: 964 Bytes
Versions: 29
Compression:
Stored size: 964 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
29 entries across 29 versions & 1 rubygems