Method: Shopapp::DeployGenerator#create_config_deploy_rb
- Defined in:
- lib/generators/shopapp/deploy/deploy_generator.rb
#create_config_deploy_rb ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/generators/shopapp/deploy/deploy_generator.rb', line 31 def create_config_deploy_rb create_file "config/deploy.rb", <<~FILECONTENT lock "~> 3.11.0" set :application, "Prolift" set :repo_url, "[email protected]:shoplift/#{app_code}.git" set :rvm_ruby_version, '2.5.1' append :linked_files, 'config/local.yml' set :deploy_to, "/home/shoplift/#{app_code}" set :passenger_restart_with_touch, true FILECONTENT end |