Class: EbDeployer::Generators::InstallGenerator

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

Constant Summary collapse

DEFAULT_STACK_NAME =
'64bit Amazon Linux 2014.09 v1.1.0 running Ruby 2.1 (Passenger Standalone)'

Instance Method Summary collapse

Instance Method Details

#do_installObject



12
13
14
15
16
17
18
# File 'lib/generators/eb_deployer/install/install_generator.rb', line 12

def do_install
  in_root do
    copy_file 'eb_deployer.rake', 'lib/tasks/eb_deployer.rake'
    template 'eb_deployer.yml.erb', 'config/eb_deployer.yml'
    setup_database
  end
end