Class: Vps::Recipes::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_deploy_fileObject



10
11
12
# File 'lib/rails/generators/vps/recipes/install/install_generator.rb', line 10

def create_deploy_file
  template 'deploy.rb', File.join('config', 'deploy.rb')
end

#create_production_fileObject



18
19
20
# File 'lib/rails/generators/vps/recipes/install/install_generator.rb', line 18

def create_production_file
  template 'production.rb', File.join('config', 'deploy', 'production.rb')
end

#create_staging_fileObject



14
15
16
# File 'lib/rails/generators/vps/recipes/install/install_generator.rb', line 14

def create_staging_file
  template 'staging.rb', File.join('config', 'deploy', 'staging.rb')
end