Class: Pu::Lite::LitestreamGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Pu::Lite::LitestreamGenerator
- Defined in:
- lib/generators/pu/lite/litestream/litestream_generator.rb
Instance Method Summary collapse
Methods included from PlutoniumGenerators::Generator
derive_association_name, find_shared_namespace, included
Methods included from PlutoniumGenerators::Concerns::Logger
#debug, #error, #exception, #info, #success, #warn
Methods included from PlutoniumGenerators::Concerns::Config
Instance Method Details
#start ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/generators/pu/lite/litestream/litestream_generator.rb', line 18 def start bundle "litestream" run_litestream_install create_litestream_script configure_kamal mount_litestream_engine configure_litestream_initializer show_instructions rescue => e exception "#{self.class} failed:", e end |