Class: Brut::CLI::Apps::DeployBase

Inherits:
Brut::CLI::App show all
Defined in:
lib/brut/cli/apps/deploy_base.rb

Direct Known Subclasses

HerokuContainerBasedDeploy

Defined Under Namespace

Classes: GitChecks

Instance Method Summary collapse

Methods inherited from Brut::CLI::App

#after_bootstrap, commands, configure_only!, configure_only?, default_command, default_env, description, env_var, #execute!, #initialize, option_parser, opts, requires_project_env, requires_project_env?

Methods included from I18n::ForCLI

#capture, #html_escape, #safe

Methods included from I18n::BaseMethods

#l, #t, #t_direct, #this_field_value

Methods included from ExecutionResults

#abort_execution, #as_execution_result, #cli_usage_error, #continue_execution, #show_cli_usage, #stop_execution

Constructor Details

This class inherits a constructor from Brut::CLI::App

Instance Method Details

#before_executeObject



4
5
6
# File 'lib/brut/cli/apps/deploy_base.rb', line 4

def before_execute
  ENV["RACK_ENV"] = "production"
end