Sha256: 75e81b31f00da895421e47f68defd195bfe88847f78bba5e94adc8daa345cf83
Contents?: true
Size: 502 Bytes
Versions: 12
Compression:
Stored size: 502 Bytes
Contents
require_relative 'task_helper' namespace :dad do namespace :nginx do desc I18n.t('nginx.install') task :install do run_itamae 'nginx/install' end desc I18n.t('nginx.config') task :config do ENV['APP_NAME'] ||= app_name ENV['SERVER_NAME'] ||= ask('SERVER_NAME', :default => 'localhost', :required => true) ENV['RAILS_ENV'] ||= rails_env(:default => 'development') ENV['RAILS_ROOT'] ||= rails_root run_itamae 'nginx/config' end end end
Version data entries
12 entries across 12 versions & 1 rubygems